rubysmith 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd9ee381ebc8f67ae293544be845606f47500fb44529b127936d89b071d77af8
4
- data.tar.gz: 25a4b4469bbd3e5b7e43874e7552e94da1156682c15248c91cb2a16073290a33
3
+ metadata.gz: cc49110ec0c6a64e8a61c955db7e7019df90dc35058f29b5d1fb88b66ddbe6b1
4
+ data.tar.gz: 04cf9523178bd4510f596089e560444e5bcfbe500f01e152d27d02068aaab200
5
5
  SHA512:
6
- metadata.gz: a83315a0432b40b43ebc89efaf7cd79d42f9886e711440698b5550e8e90e5ba442d78f655951684ff6c533b4bd07ab3237de60ef037a2c010bf5871859615b0d
7
- data.tar.gz: 272bdef0ba9dfa1842af8b8715d554f28a83fb86174a762fff42e97ae4c7b8d52b549f702bcb75f0ad87af4ace2901e954cece399f2e8a6ec9b0025b460206b4
6
+ metadata.gz: 0dc3eb2629ad86d42a4dea655b9460930dc671e27be1f9cacf424e66e89f2b396406944715b243d375d578cadb5fbc6d4996f4a8d30da8139881555f78f4ff27
7
+ data.tar.gz: 421f8be12cb1c8a9445c3b9d6913f455ce041612f082aba3f4b5b9758c877a5b4f069d1fa202804c02d7c71eef630419eebae19551bb49a140ab9d82f7bac26e
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -16,7 +16,7 @@ module Rubysmith
16
16
  def call
17
17
  return unless realm.build_documentation
18
18
 
19
- private_methods.grep(/render_/).each { |method| __send__ method }
19
+ private_methods.sort.grep(/render_/).each { |method| __send__ method }
20
20
  end
21
21
 
22
22
  private
@@ -17,7 +17,7 @@ module Rubysmith
17
17
 
18
18
  def call arguments = []
19
19
  client.separator "\nBUILD OPTIONS:\n"
20
- private_methods.grep(/add_/).each { |method| __send__ method }
20
+ private_methods.sort.grep(/add_/).each { |method| __send__ method }
21
21
  arguments.empty? ? arguments : client.parse!(arguments)
22
22
  end
23
23
 
@@ -28,7 +28,7 @@ module Rubysmith
28
28
  attr_reader :client, :options
29
29
 
30
30
  def collate
31
- private_methods.grep(/add_/).each { |method| __send__ method }
31
+ private_methods.sort.grep(/add_/).each { |method| __send__ method }
32
32
  end
33
33
 
34
34
  def add_config
@@ -48,7 +48,8 @@ module Rubysmith
48
48
  end
49
49
 
50
50
  def process_build kind, settings
51
- processors.fetch(kind).call settings.rekey(build: :project_name).merge(now: Time.now)
51
+ processors.fetch(kind).call settings.transform_keys(build: :project_name)
52
+ .merge(now: Time.now)
52
53
  end
53
54
 
54
55
  def options
@@ -4,7 +4,7 @@ module Rubysmith
4
4
  module Identity
5
5
  NAME = "rubysmith"
6
6
  LABEL = "Rubysmith"
7
- VERSION = "0.7.0"
7
+ VERSION = "0.8.0"
8
8
  VERSION_LABEL = "#{LABEL} #{VERSION}"
9
9
  SUMMARY = "A command line interface for smithing Ruby projects."
10
10
  end
@@ -2,7 +2,7 @@ source "https://rubygems.org"
2
2
 
3
3
  <% unless realm.build_minimum %>
4
4
  <% if realm.build_refinements %>
5
- gem "refinements", "~> 7.16"
5
+ gem "refinements", "~> 8.0"
6
6
  <% end %>
7
7
 
8
8
  group :code_quality do
@@ -13,7 +13,7 @@ source "https://rubygems.org"
13
13
  gem "bundler-leak", "~> 0.2"
14
14
  <% end %>
15
15
  <% if realm.build_git && realm.build_git_lint %>
16
- gem "git-lint", "~> 1.3"
16
+ gem "git-lint", "~> 2.0"
17
17
  <% end %>
18
18
  <% if realm.build_reek %>
19
19
  gem "reek", "~> 6.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
29
  QWc=
30
30
  -----END CERTIFICATE-----
31
- date: 2020-12-13 00:00:00.000000000 Z
31
+ date: 2020-12-30 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pragmater
@@ -36,28 +36,28 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '8.1'
39
+ version: '9.0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '8.1'
46
+ version: '9.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: refinements
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '7.16'
53
+ version: '8.0'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '7.16'
60
+ version: '8.0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rubocop
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -78,14 +78,14 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '6.4'
81
+ version: '7.0'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '6.4'
88
+ version: '7.0'
89
89
  description:
90
90
  email:
91
91
  - brooke@alchemists.io
@@ -173,14 +173,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
173
  requirements:
174
174
  - - "~>"
175
175
  - !ruby/object:Gem::Version
176
- version: '2.7'
176
+ version: '3.0'
177
177
  required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  requirements:
179
179
  - - ">="
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  requirements: []
183
- rubygems_version: 3.2.0
183
+ rubygems_version: 3.2.3
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: A command line interface for smithing Ruby projects.
metadata.gz.sig CHANGED
Binary file