lib/gemsmith/cli_options.rb in gemsmith-3.2.0 vs lib/gemsmith/cli_options.rb in gemsmith-4.0.0
- old
+ new
@@ -26,22 +26,20 @@
company_name: company_name,
company_url: company_url,
github_user: github_user,
year: year,
ruby_version: ruby_version,
- ruby_patch: ruby_patch,
rails_version: rails_version,
post_install_message: @settings[:post_install_message],
bin: default_boolean(:bin),
rails: default_boolean(:rails),
pry: default_boolean(:pry, true),
guard: default_boolean(:guard, true),
rspec: default_boolean(:rspec, true),
code_climate: default_boolean(:code_climate, true),
gemnasium: default_boolean(:gemnasium, true),
- travis: default_boolean(:travis, true),
- coveralls: default_boolean(:coveralls, true)
+ travis: default_boolean(:travis, true)
}
end
def gem_platform
@settings[:gem_platform] || "Gem::Platform::RUBY"
@@ -86,18 +84,14 @@
def year
@settings[:year] || Time.now.year
end
def ruby_version
- @settings[:ruby_version] || "2.0.0"
+ @settings[:ruby_version] || "2.1.2"
end
- def ruby_patch
- @settings[:ruby_patch] || "p0"
- end
-
def rails_version
- @settings[:rails_version] || "4.0"
+ @settings[:rails_version] || "4.1"
end
def default_boolean key, value = false
@settings.has_key?(key) ? @settings[key] : value
end