gemsmith 9.6.0 → 10.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +3 -0
  3. data.tar.gz.sig +0 -0
  4. data/README.md +75 -67
  5. data/lib/gemsmith.rb +2 -1
  6. data/lib/gemsmith/cli.rb +27 -17
  7. data/lib/gemsmith/credentials.rb +6 -3
  8. data/lib/gemsmith/gem/module_formatter.rb +7 -9
  9. data/lib/gemsmith/gem/requirement.rb +4 -2
  10. data/lib/gemsmith/gem/specification.rb +4 -0
  11. data/lib/gemsmith/generators/base.rb +4 -5
  12. data/lib/gemsmith/generators/bundler.rb +1 -1
  13. data/lib/gemsmith/generators/circle_ci.rb +13 -0
  14. data/lib/gemsmith/generators/cli.rb +1 -1
  15. data/lib/gemsmith/generators/gem.rb +1 -0
  16. data/lib/gemsmith/generators/git_cop.rb +13 -0
  17. data/lib/gemsmith/generators/pragma.rb +20 -17
  18. data/lib/gemsmith/generators/rails.rb +3 -8
  19. data/lib/gemsmith/generators/rake.rb +5 -1
  20. data/lib/gemsmith/helpers/cli.rb +7 -4
  21. data/lib/gemsmith/identity.rb +1 -5
  22. data/lib/gemsmith/rake/builder.rb +2 -6
  23. data/lib/gemsmith/rake/publisher.rb +12 -6
  24. data/lib/gemsmith/rake/tasks.rb +8 -3
  25. data/lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt +7 -5
  26. data/lib/gemsmith/templates/%gem_name%/README.md.tt +15 -15
  27. data/lib/gemsmith/templates/%gem_name%/Rakefile.tt +1 -0
  28. data/lib/gemsmith/templates/%gem_name%/circle.yml.tt +11 -0
  29. data/lib/gemsmith/templates/%gem_name%/lib/%gem_path%/cli.rb.tt +6 -7
  30. data/lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt +1 -7
  31. data/lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/install/USAGE.tt +1 -1
  32. data/lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/install/install_generator.rb.tt +1 -1
  33. data/lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/USAGE.tt +1 -1
  34. data/lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/upgrade_generator.rb.tt +1 -1
  35. data/lib/gemsmith/templates/%gem_name%/spec/lib/%gem_path%/cli_spec.rb.tt +7 -22
  36. metadata +58 -36
  37. metadata.gz.sig +0 -0
  38. data/lib/gemsmith/generators/travis.rb +0 -13
  39. data/lib/gemsmith/templates/%gem_name%/.travis.yml.tt +0 -11
  40. data/lib/gemsmith/templates/%gem_name%/gemfiles/rails-%rails_version%.x.gemfile.tt +0 -5
@@ -31,6 +31,7 @@ module Gemsmith
31
31
 
32
32
  # rubocop:disable Metrics/AbcSize
33
33
  # rubocop:disable Metrics/MethodLength
34
+ # :reek:TooManyStatements
34
35
  def install
35
36
  desc "Update README (table of contents)"
36
37
  task :doc do
@@ -46,18 +47,18 @@ module Gemsmith
46
47
  builder.validate
47
48
  end
48
49
 
49
- desc "Build #{gem_spec.package_file_name} package"
50
+ desc "Build #{gem_package} package"
50
51
  task build: %i[clean doc validate] do
51
52
  builder.build gem_spec
52
53
  end
53
54
 
54
- desc "Install #{gem_spec.package_file_name} package"
55
+ desc "Install #{gem_package} package"
55
56
  task install: :build do
56
57
  builder.install gem_spec
57
58
  end
58
59
 
59
60
  desc "Build, tag as #{gem_spec.version_label} (#{signed_label}), " \
60
- "and push #{gem_spec.package_file_name} to RubyGems"
61
+ "and push #{gem_package} to RubyGems"
61
62
  task publish: :build do
62
63
  publisher.publish
63
64
  end
@@ -67,6 +68,10 @@ module Gemsmith
67
68
 
68
69
  attr_reader :gem_spec, :builder, :publisher
69
70
 
71
+ def gem_package
72
+ gem_spec.package_file_name
73
+ end
74
+
70
75
  def signed_label
71
76
  publisher.signed? ? "signed" : "unsigned"
72
77
  end
@@ -18,17 +18,16 @@ Gem::Specification.new do |spec|
18
18
  end
19
19
  <%- end -%>
20
20
 
21
- spec.required_ruby_version = "~> <%= config.dig(:versions, :ruby)[/\d{1}\.\d{1}/] %>"
21
+ spec.required_ruby_version = "~> <%= config.dig(:versions, :ruby)[/\d+\.\d+/] %>"
22
22
  <%- if config.dig(:generate, :cli) -%>
23
23
  spec.add_dependency "thor", "~> 0.19"
24
- spec.add_dependency "thor_plus", "~> 5.1"
25
- spec.add_dependency "runcom", "~> 0.6"
24
+ spec.add_dependency "runcom", "~> 1.1"
26
25
  <%- end -%>
27
26
  <%- if config.dig(:generate, :rails) -%>
28
27
  spec.add_dependency "rails", "~> <%= config.dig(:versions, :rails) %>"
29
28
  <%- end -%>
30
29
  spec.add_development_dependency "rake", "~> 12.0"
31
- spec.add_development_dependency "gemsmith", "~> <%= Gemsmith::Identity.version[/\d{1}\.\d{1}/] %>"
30
+ spec.add_development_dependency "gemsmith", "~> <%= Gemsmith::Identity.version[/\d+\.\d+/] %>"
32
31
  <%- if config.dig(:generate, :pry) -%>
33
32
  spec.add_development_dependency "pry", "~> 0.10"
34
33
  spec.add_development_dependency "pry-byebug", "~> 3.4"
@@ -40,8 +39,11 @@ Gem::Specification.new do |spec|
40
39
  <%- if config.dig(:generate, :guard) -%>
41
40
  spec.add_development_dependency "guard-rspec", "~> 4.7"
42
41
  <%- end -%>
42
+ <%- if config.dig(:generate, :git_cop) -%>
43
+ spec.add_development_dependency "git-cop", "~> 1.0"
44
+ <%- end -%>
43
45
  <%- if config.dig(:generate, :reek) -%>
44
- spec.add_development_dependency "reek", "~> 4.6"
46
+ spec.add_development_dependency "reek", "~> 4.7"
45
47
  <%- end -%>
46
48
  <%- if config.dig(:generate, :rubocop) -%>
47
49
  spec.add_development_dependency "rubocop", "~> 0.49"
@@ -1,4 +1,4 @@
1
- # <%= config.dig(:gem, :class) %>
1
+ # <%= config.dig(:gem, :label) %>
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/<%= config.dig(:gem, :name) %>.svg)](http://badge.fury.io/rb/<%= config.dig(:gem, :name) %>)
4
4
  <%- if config.dig(:generate, :code_climate) -%>
@@ -8,8 +8,8 @@
8
8
  <%- if config.dig(:generate, :gemnasium) -%>
9
9
  [![Gemnasium Status](https://gemnasium.com/<%= config.fetch :github_user %>/<%= config.dig(:gem, :name) %>.svg)](https://gemnasium.com/<%= config.fetch :github_user %>/<%= config.dig(:gem, :name) %>)
10
10
  <%- end -%>
11
- <%- if config.dig(:generate, :travis) -%>
12
- [![Travis CI Status](https://secure.travis-ci.org/<%= config.fetch :github_user %>/<%= config.dig(:gem, :name) %>.svg)](https://travis-ci.org/<%= config.fetch :github_user %>/<%= config.dig(:gem, :name) %>)
11
+ <%- if config.dig(:generate, :circle_ci) -%>
12
+ [![Circle CI Status](https://circleci.com/gh/<%= config.fetch :github_user %>/<%= config.dig :gem, :name %>.svg?style=svg)](https://circleci.com/gh/<%= config.fetch :github_user %>/<%= config.dig :gem, :name %>)
13
13
  <%- end -%>
14
14
  <%- if config.dig(:generate, :patreon) -%>
15
15
  [![Patreon](https://img.shields.io/badge/patreon-donate-brightgreen.svg)](https://www.patreon.com/<%= config.fetch :github_user %>)
@@ -18,18 +18,18 @@
18
18
  <!-- Tocer[start]: Auto-generated, don't remove. -->
19
19
  <!-- Tocer[finish]: Auto-generated, don't remove. -->
20
20
 
21
- # Features
21
+ ## Features
22
22
 
23
- # Screencasts
23
+ ## Screencasts
24
24
 
25
- # Requirements
25
+ ## Requirements
26
26
 
27
27
  0. [Ruby <%= config.dig(:versions, :ruby) %>](https://www.ruby-lang.org)
28
28
  <%- if config.dig(:generate, :rails) -%>
29
29
  0. [Ruby on Rails](http://rubyonrails.org).
30
30
  <%- end -%>
31
31
 
32
- # Setup
32
+ ## Setup
33
33
 
34
34
  <%- if config.dig(:generate, :security) -%>
35
35
  For a secure install, type the following (recommended):
@@ -56,17 +56,17 @@ Add the following to your Gemfile:
56
56
  gem "<%= config.dig(:gem, :name) %>"
57
57
  <%- end -%>
58
58
 
59
- # Usage
59
+ ## Usage
60
60
 
61
61
  <%- if config.dig(:generate, :rspec) -%>
62
- # Tests
62
+ ## Tests
63
63
 
64
64
  To test, run:
65
65
 
66
66
  bundle exec rake
67
67
  <%- end -%>
68
68
 
69
- # Versioning
69
+ ## Versioning
70
70
 
71
71
  Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
72
72
 
@@ -74,26 +74,26 @@ Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
74
74
  - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
75
75
  - Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
76
76
 
77
- # Code of Conduct
77
+ ## Code of Conduct
78
78
 
79
79
  Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By
80
80
  participating in this project you agree to abide by its terms.
81
81
 
82
- # Contributions
82
+ ## Contributions
83
83
 
84
84
  Read [CONTRIBUTING](CONTRIBUTING.md) for details.
85
85
 
86
- # License
86
+ ## License
87
87
 
88
88
  Copyright (c) <%= config.fetch :year %> [<%= config.dig :organization, :name %>](<%= config.dig :organization, :url %>).
89
89
  Read [LICENSE](LICENSE.md) for details.
90
90
 
91
- # History
91
+ ## History
92
92
 
93
93
  Read [CHANGES](CHANGES.md) for details.
94
94
  Built with [Gemsmith](https://github.com/bkuhlmann/gemsmith).
95
95
 
96
- # Credits
96
+ ## Credits
97
97
 
98
98
  Developed by [<%= config.dig(:author, :name) %>](<%= config.dig :author, :url %>) at
99
99
  [<%= config.dig :organization, :name %>](<%= config.dig :organization, :url %>).
@@ -1,5 +1,6 @@
1
1
  begin
2
2
  require "gemsmith/rake/setup"
3
+ # require "git/cop/rake/setup"
3
4
  # require "rspec/core/rake_task"
4
5
  # require "reek/rake/task"
5
6
  # require "rubocop/rake_task"
@@ -0,0 +1,11 @@
1
+ dependencies:
2
+ pre:
3
+ - gem update --system
4
+ - gem update bundler
5
+ test:
6
+ override:
7
+ - bundle exec rake
8
+ <%- if config.dig(:generate, :code_climate) -%>
9
+ post:
10
+ - bundle exec codeclimate-test-reporter
11
+ <%- end -%>
@@ -1,25 +1,23 @@
1
1
  require "thor"
2
2
  require "thor/actions"
3
- require "thor_plus/actions"
4
3
  require "runcom"
5
4
 
6
5
  <% render_namespace do %>
7
6
  # The Command Line Interface (CLI) for the gem.
8
7
  class CLI < Thor
9
8
  include Thor::Actions
10
- include ThorPlus::Actions
11
9
 
12
10
  package_name Identity.version_label
13
11
 
14
12
  def self.configuration
15
- Runcom::Configuration.new file_name: Identity.file_name
13
+ Runcom::Configuration.new project_name: Identity.name
16
14
  end
17
15
 
18
16
  def initialize args = [], options = {}, config = {}
19
17
  super args, options, config
20
18
  end
21
19
 
22
- desc "-c, [--config]", %(Manage gem configuration ("#{configuration.computed_path}").)
20
+ desc "-c, [--config]", "Manage gem configuration."
23
21
  map %w[-c --config] => :config
24
22
  method_option :edit,
25
23
  aliases: "-e",
@@ -30,10 +28,11 @@ require "runcom"
30
28
  desc: "Print gem configuration.",
31
29
  type: :boolean, default: false
32
30
  def config
33
- path = self.class.configuration.computed_path
31
+ path = self.class.configuration.path
34
32
 
35
- if options.edit? then `#{editor} #{path}`
36
- elsif options.info? then say(path)
33
+ if options.edit? then `#{ENV["EDITOR"]} #{path}`
34
+ elsif options.info?
35
+ path ? say(path) : say("Configuration doesn't exist.")
37
36
  else help(:config)
38
37
  end
39
38
  end
@@ -6,7 +6,7 @@
6
6
  end
7
7
 
8
8
  def self.label
9
- "<%= config.dig(:gem, :class) %>"
9
+ "<%= config.dig(:gem, :label) %>"
10
10
  end
11
11
 
12
12
  def self.version
@@ -16,11 +16,5 @@
16
16
  def self.version_label
17
17
  "#{label} #{version}"
18
18
  end
19
- <%- if config.dig(:generate, :cli) -%>
20
-
21
- def self.file_name
22
- ".#{name}rc"
23
- end
24
- <%- end -%>
25
19
  end
26
20
  <% end %>
@@ -1,5 +1,5 @@
1
1
  Description:
2
- Installs additional <%= config.dig(:gem, :class) %> resources.
2
+ Installs additional <%= config.dig(:gem, :label) %> resources.
3
3
 
4
4
  Example:
5
5
  rails generate <%= config.dig(:gem, :name) %>:install
@@ -3,7 +3,7 @@
3
3
  class InstallGenerator < Rails::Generators::Base
4
4
  source_root File.join(File.dirname(__FILE__), "..", "templates")
5
5
 
6
- desc "Installs additional <%= config.dig(:gem, :class) %> resources."
6
+ desc "Installs additional <%= config.dig(:gem, :label) %> resources."
7
7
  def install
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  Description:
2
- Upgrades previously installed <%= config.dig(:gem, :class) %> resources.
2
+ Upgrades previously installed <%= config.dig(:gem, :label) %> resources.
3
3
 
4
4
  Example:
5
5
  rails generate <%= config.dig(:gem, :name) %>:upgrade
@@ -3,7 +3,7 @@
3
3
  class UpgradeGenerator < Rails::Generators::Base
4
4
  source_root File.join(File.dirname(__FILE__), "..", "templates")
5
5
 
6
- desc "Upgrades previously installed <%= config.dig(:gem, :class) %> resources."
6
+ desc "Upgrades previously installed <%= config.dig(:gem, :label) %> resources."
7
7
  def upgrade
8
8
  end
9
9
  end
@@ -5,43 +5,28 @@ require "spec_helper"
5
5
  RSpec.describe <%= config.dig(:gem, :class) %>::CLI do
6
6
  let(:options) { [] }
7
7
  let(:command_line) { Array(command).concat options }
8
- let :cli do
9
- lambda do
10
- load "<%= config.dig(:gem, :path) %>/cli.rb" # Ensures clean Thor `.method_option` evaluation per spec.
11
- described_class.start command_line
12
- end
13
- end
8
+ let(:cli) { described_class.start command_line }
14
9
 
15
10
  shared_examples_for "a config command", :temp_dir do
16
- let(:configuration_path) { File.join temp_dir, <%= config.dig(:gem, :class) %>::Identity.file_name }
17
- before { FileUtils.touch configuration_path }
18
-
19
- context "with info option" do
20
- let(:options) { %w[-i] }
21
-
22
- it "prints configuration path" do
23
- Dir.chdir(temp_dir) do
24
- expect(&cli).to output("#{configuration_path}\n").to_stdout
25
- end
26
- end
27
- end
28
-
29
11
  context "with no options" do
30
12
  it "prints help text" do
31
- expect(&cli).to output(/Manage gem configuration./).to_stdout
13
+ result = -> { cli }
14
+ expect(&result).to output(/Manage gem configuration./).to_stdout
32
15
  end
33
16
  end
34
17
  end
35
18
 
36
19
  shared_examples_for "a version command" do
37
20
  it "prints version" do
38
- expect(&cli).to output(/<%= config.dig(:gem, :class) %>\s#{<%= config.dig(:gem, :class) %>::Identity.version}\n/).to_stdout
21
+ result = -> { cli }
22
+ expect(&result).to output(/#{<%= config.dig(:gem, :class) %>::Identity.version_label}\n/).to_stdout
39
23
  end
40
24
  end
41
25
 
42
26
  shared_examples_for "a help command" do
43
27
  it "prints usage" do
44
- expect(&cli).to output(/<%= config.dig(:gem, :class) %>\s#{<%= config.dig(:gem, :class) %>::Identity.version}\scommands:\n/).to_stdout
28
+ result = -> { cli }
29
+ expect(&result).to output(/#{<%= config.dig(:gem, :class) %>::Identity.version_label}\scommands:\n/).to_stdout
45
30
  end
46
31
  end
47
32
 
metadata CHANGED
@@ -1,14 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemsmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.6.0
4
+ version: 10.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2017-05-27 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZicm9v
14
+ a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
15
+ aW8wHhcNMTYxMDE5MTY0NDEzWhcNMTcxMDE5MTY0NDEzWjBBMQ8wDQYDVQQDDAZi
16
+ cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
17
+ GRYCaW8wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCgryPL4/IbWDcL
18
+ fnqpnoJALqj+ega7hSsvvD8sac57HPNLeKcOmSafFiQLAnTmmE132ZlFc8kyZRVn
19
+ zmqSESowO5jd+ggFuy1ySqQJXhwgik04KedKRUjpIDZePrjw+M5UJT1qzKCKL2xI
20
+ nx5cOKP1fSWJ1RRu8JhaDeSloGtYMdw2c28wnKPNIsWDood4xhbLcY9IqeISft2e
21
+ oTAHTHandHbvt24X3/n67ceNjLBbsVZPXCC1C8C8ccjHjA4Tm2uiFoDwThMcPggg
22
+ 90H6fh0vLFcNAobdPEchbge8tWtfmMPz2+C4yklANn81GA+ANsBS1uwx6mxJoMQU
23
+ BNVp0aLvAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
24
+ BBRS85Rn1BaqeIONByw4t46DMDMzHDAfBgNVHREEGDAWgRRicm9va2VAYWxjaGVt
25
+ aXN0cy5pbzAfBgNVHRIEGDAWgRRicm9va2VAYWxjaGVtaXN0cy5pbzANBgkqhkiG
26
+ 9w0BAQUFAAOCAQEAZMb57Y4wdpbX8XxTukEO7VC1pndccUsxdbziGsAOiuHET3Aq
27
+ ygLvrfdYrN88/w+qxncW5bxbO3a6UGkuhIFUPM8zRSE/rh6bCcJljTJrExVt42eV
28
+ aYCb7WJNsx3eNXHn3uQodq3tD+lmNJzz2bFeT3smGSKEnALBjqorO/2mpDh4FJ3S
29
+ 4CcDYsJ1ywep8LDJDBBGdKz9moL+axryzpeTpgTT/fFYFzRzWrURPyDvPOikh9TX
30
+ n/LUZ1dKhIHzfKx1B4+TEIefArObGfkLIDM8+Dq1RX7TF1k81Men7iu4MgE9bYBn
31
+ 3dE+xI3FdB5gWcdWxdtgRCmWjtXeYYyb4z6NQQ==
32
+ -----END CERTIFICATE-----
33
+ date: 2017-06-18 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
36
  name: bundler
@@ -38,20 +60,6 @@ dependencies:
38
60
  - - "~>"
39
61
  - !ruby/object:Gem::Version
40
62
  version: '0.19'
41
- - !ruby/object:Gem::Dependency
42
- name: thor_plus
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '5.1'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '5.1'
55
63
  - !ruby/object:Gem::Dependency
56
64
  name: refinements
57
65
  requirement: !ruby/object:Gem::Requirement
@@ -86,56 +94,56 @@ dependencies:
86
94
  requirements:
87
95
  - - "~>"
88
96
  - !ruby/object:Gem::Version
89
- version: '0.6'
97
+ version: '1.1'
90
98
  type: :runtime
91
99
  prerelease: false
92
100
  version_requirements: !ruby/object:Gem::Requirement
93
101
  requirements:
94
102
  - - "~>"
95
103
  - !ruby/object:Gem::Version
96
- version: '0.6'
104
+ version: '1.1'
97
105
  - !ruby/object:Gem::Dependency
98
106
  name: milestoner
99
107
  requirement: !ruby/object:Gem::Requirement
100
108
  requirements:
101
109
  - - "~>"
102
110
  - !ruby/object:Gem::Version
103
- version: '5.1'
111
+ version: '6.0'
104
112
  type: :runtime
105
113
  prerelease: false
106
114
  version_requirements: !ruby/object:Gem::Requirement
107
115
  requirements:
108
116
  - - "~>"
109
117
  - !ruby/object:Gem::Version
110
- version: '5.1'
118
+ version: '6.0'
111
119
  - !ruby/object:Gem::Dependency
112
120
  name: pragmater
113
121
  requirement: !ruby/object:Gem::Requirement
114
122
  requirements:
115
123
  - - "~>"
116
124
  - !ruby/object:Gem::Version
117
- version: '3.1'
125
+ version: '4.0'
118
126
  type: :runtime
119
127
  prerelease: false
120
128
  version_requirements: !ruby/object:Gem::Requirement
121
129
  requirements:
122
130
  - - "~>"
123
131
  - !ruby/object:Gem::Version
124
- version: '3.1'
132
+ version: '4.0'
125
133
  - !ruby/object:Gem::Dependency
126
134
  name: tocer
127
135
  requirement: !ruby/object:Gem::Requirement
128
136
  requirements:
129
137
  - - "~>"
130
138
  - !ruby/object:Gem::Version
131
- version: '5.0'
139
+ version: '6.0'
132
140
  type: :runtime
133
141
  prerelease: false
134
142
  version_requirements: !ruby/object:Gem::Requirement
135
143
  requirements:
136
144
  - - "~>"
137
145
  - !ruby/object:Gem::Version
138
- version: '5.0'
146
+ version: '6.0'
139
147
  - !ruby/object:Gem::Dependency
140
148
  name: rake
141
149
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +220,14 @@ dependencies:
212
220
  requirements:
213
221
  - - "~>"
214
222
  - !ruby/object:Gem::Version
215
- version: '2.0'
223
+ version: '2.1'
216
224
  type: :development
217
225
  prerelease: false
218
226
  version_requirements: !ruby/object:Gem::Requirement
219
227
  requirements:
220
228
  - - "~>"
221
229
  - !ruby/object:Gem::Version
222
- version: '2.0'
230
+ version: '2.1'
223
231
  - !ruby/object:Gem::Dependency
224
232
  name: hirb
225
233
  requirement: !ruby/object:Gem::Requirement
@@ -240,14 +248,14 @@ dependencies:
240
248
  requirements:
241
249
  - - "~>"
242
250
  - !ruby/object:Gem::Version
243
- version: '1.7'
251
+ version: '1.8'
244
252
  type: :development
245
253
  prerelease: false
246
254
  version_requirements: !ruby/object:Gem::Requirement
247
255
  requirements:
248
256
  - - "~>"
249
257
  - !ruby/object:Gem::Version
250
- version: '1.7'
258
+ version: '1.8'
251
259
  - !ruby/object:Gem::Dependency
252
260
  name: rspec
253
261
  requirement: !ruby/object:Gem::Requirement
@@ -268,14 +276,14 @@ dependencies:
268
276
  requirements:
269
277
  - - "~>"
270
278
  - !ruby/object:Gem::Version
271
- version: '0.1'
279
+ version: '0.2'
272
280
  type: :development
273
281
  prerelease: false
274
282
  version_requirements: !ruby/object:Gem::Requirement
275
283
  requirements:
276
284
  - - "~>"
277
285
  - !ruby/object:Gem::Version
278
- version: '0.1'
286
+ version: '0.2'
279
287
  - !ruby/object:Gem::Dependency
280
288
  name: guard-rspec
281
289
  requirement: !ruby/object:Gem::Requirement
@@ -290,20 +298,34 @@ dependencies:
290
298
  - - "~>"
291
299
  - !ruby/object:Gem::Version
292
300
  version: '4.7'
301
+ - !ruby/object:Gem::Dependency
302
+ name: git-cop
303
+ requirement: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - "~>"
306
+ - !ruby/object:Gem::Version
307
+ version: '1.0'
308
+ type: :development
309
+ prerelease: false
310
+ version_requirements: !ruby/object:Gem::Requirement
311
+ requirements:
312
+ - - "~>"
313
+ - !ruby/object:Gem::Version
314
+ version: '1.0'
293
315
  - !ruby/object:Gem::Dependency
294
316
  name: reek
295
317
  requirement: !ruby/object:Gem::Requirement
296
318
  requirements:
297
319
  - - "~>"
298
320
  - !ruby/object:Gem::Version
299
- version: '4.6'
321
+ version: '4.7'
300
322
  type: :development
301
323
  prerelease: false
302
324
  version_requirements: !ruby/object:Gem::Requirement
303
325
  requirements:
304
326
  - - "~>"
305
327
  - !ruby/object:Gem::Version
306
- version: '4.6'
328
+ version: '4.7'
307
329
  - !ruby/object:Gem::Dependency
308
330
  name: rubocop
309
331
  requirement: !ruby/object:Gem::Requirement
@@ -360,11 +382,13 @@ files:
360
382
  - lib/gemsmith/gem/specification.rb
361
383
  - lib/gemsmith/generators/base.rb
362
384
  - lib/gemsmith/generators/bundler.rb
385
+ - lib/gemsmith/generators/circle_ci.rb
363
386
  - lib/gemsmith/generators/cli.rb
364
387
  - lib/gemsmith/generators/code_climate.rb
365
388
  - lib/gemsmith/generators/documentation.rb
366
389
  - lib/gemsmith/generators/gem.rb
367
390
  - lib/gemsmith/generators/git.rb
391
+ - lib/gemsmith/generators/git_cop.rb
368
392
  - lib/gemsmith/generators/git_hub.rb
369
393
  - lib/gemsmith/generators/guard.rb
370
394
  - lib/gemsmith/generators/pragma.rb
@@ -375,7 +399,6 @@ files:
375
399
  - lib/gemsmith/generators/rubocop.rb
376
400
  - lib/gemsmith/generators/ruby.rb
377
401
  - lib/gemsmith/generators/scss_lint.rb
378
- - lib/gemsmith/generators/travis.rb
379
402
  - lib/gemsmith/git.rb
380
403
  - lib/gemsmith/helpers/cli.rb
381
404
  - lib/gemsmith/helpers/template.rb
@@ -391,7 +414,6 @@ files:
391
414
  - lib/gemsmith/templates/%gem_name%/.gitignore.tt
392
415
  - lib/gemsmith/templates/%gem_name%/.rubocop.yml.tt
393
416
  - lib/gemsmith/templates/%gem_name%/.ruby-version.tt
394
- - lib/gemsmith/templates/%gem_name%/.travis.yml.tt
395
417
  - lib/gemsmith/templates/%gem_name%/CHANGES.md.tt
396
418
  - lib/gemsmith/templates/%gem_name%/CODE_OF_CONDUCT.md.tt
397
419
  - lib/gemsmith/templates/%gem_name%/CONTRIBUTING.md.tt
@@ -402,7 +424,7 @@ files:
402
424
  - lib/gemsmith/templates/%gem_name%/Rakefile.tt
403
425
  - lib/gemsmith/templates/%gem_name%/bin/%gem_name%.tt
404
426
  - lib/gemsmith/templates/%gem_name%/bin/setup.tt
405
- - lib/gemsmith/templates/%gem_name%/gemfiles/rails-%rails_version%.x.gemfile.tt
427
+ - lib/gemsmith/templates/%gem_name%/circle.yml.tt
406
428
  - lib/gemsmith/templates/%gem_name%/lib/%gem_path%.rb.tt
407
429
  - lib/gemsmith/templates/%gem_name%/lib/%gem_path%/cli.rb.tt
408
430
  - lib/gemsmith/templates/%gem_name%/lib/%gem_path%/engine.rb.tt