ggem 1.9.3 → 1.10.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "assert"
2
4
  require "ggem/gem"
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "assert"
2
4
  require "ggem/gemspec"
3
5
 
@@ -92,18 +94,23 @@ class GGem::Gemspec
92
94
 
93
95
  setup do
94
96
  @exp_build_path = @gem1_root_path.join(subject.gem_file_name)
95
- @exp_pkg_path = @gem1_root_path.join(@gemspec_class::BUILD_TO_DIRNAME, subject.gem_file_name)
97
+ @exp_pkg_path =
98
+ @gem1_root_path.join(
99
+ @gemspec_class::BUILD_TO_DIRNAME,
100
+ subject.gem_file_name,
101
+ )
96
102
  end
97
103
  end
98
104
 
99
105
  class RunBuildCmdTests < CmdTests
100
106
  desc "`run_build_cmd`"
101
107
  setup do
102
- @exp_cmds_run = [
103
- "gem build --verbose #{subject.path}",
104
- "mkdir -p #{@exp_pkg_path.dirname}",
105
- "mv #{@exp_build_path} #{@exp_pkg_path}"
106
- ]
108
+ @exp_cmds_run =
109
+ [
110
+ "gem build --verbose #{subject.path}",
111
+ "mkdir -p #{@exp_pkg_path.dirname}",
112
+ "mv #{@exp_build_path} #{@exp_pkg_path}",
113
+ ]
107
114
  end
108
115
 
109
116
  should "run system cmds to build the gem" do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "assert"
2
4
  require "ggem/git_repo"
3
5
 
@@ -45,7 +47,7 @@ class GGem::GitRepo
45
47
  setup do
46
48
  @exp_cmds_run = [
47
49
  "cd #{@repo_path} && git init",
48
- "cd #{@repo_path} && git add --all && git add -f *.keep"
50
+ "cd #{@repo_path} && git add --all && git add -f *.keep",
49
51
  ]
50
52
  end
51
53
 
@@ -62,7 +64,7 @@ class GGem::GitRepo
62
64
  desc "`run_validate_clean_cmd`"
63
65
  setup do
64
66
  @exp_cmds_run = [
65
- "cd #{@repo_path} && git diff --exit-code"
67
+ "cd #{@repo_path} && git diff --exit-code",
66
68
  ]
67
69
  end
68
70
 
@@ -79,7 +81,7 @@ class GGem::GitRepo
79
81
  desc "`run_validate_committed_cmd`"
80
82
  setup do
81
83
  @exp_cmds_run = [
82
- "cd #{@repo_path} && git diff-index --quiet --cached HEAD"
84
+ "cd #{@repo_path} && git diff-index --quiet --cached HEAD",
83
85
  ]
84
86
  end
85
87
 
@@ -97,7 +99,7 @@ class GGem::GitRepo
97
99
  setup do
98
100
  @exp_cmds_run = [
99
101
  "cd #{@repo_path} && git push",
100
- "cd #{@repo_path} && git push --tags"
102
+ "cd #{@repo_path} && git push --tags",
101
103
  ]
102
104
  end
103
105
 
@@ -117,7 +119,7 @@ class GGem::GitRepo
117
119
  @tag = Factory.string
118
120
 
119
121
  @exp_cmds_run = [
120
- "cd #{@repo_path} && git tag -a -m \"Version #{@version}\" #{@tag}"
122
+ "cd #{@repo_path} && git tag -a -m \"Version #{@version}\" #{@tag}",
121
123
  ]
122
124
  end
123
125
 
@@ -126,7 +128,9 @@ class GGem::GitRepo
126
128
  end
127
129
 
128
130
  should "complain if any system cmds are not successful" do
129
- assert_exp_cmds_error(CmdError){ subject.run_add_version_tag_cmd(@version, @tag) }
131
+ assert_exp_cmds_error(CmdError) do
132
+ subject.run_add_version_tag_cmd(@version, @tag)
133
+ end
130
134
  end
131
135
  end
132
136
 
@@ -136,7 +140,7 @@ class GGem::GitRepo
136
140
  @tag = Factory.string
137
141
 
138
142
  @exp_cmds_run = [
139
- "cd #{@repo_path} && git tag -d #{@tag}"
143
+ "cd #{@repo_path} && git tag -d #{@tag}",
140
144
  ]
141
145
  end
142
146
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ggem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.3
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -9,50 +9,64 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-24 00:00:00.000000000 Z
12
+ date: 2021-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: much-style-guide
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 0.6.0
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 0.6.0
14
28
  - !ruby/object:Gem::Dependency
15
29
  name: assert
16
30
  requirement: !ruby/object:Gem::Requirement
17
31
  requirements:
18
32
  - - "~>"
19
33
  - !ruby/object:Gem::Version
20
- version: 2.19.0
34
+ version: 2.19.4
21
35
  type: :development
22
36
  prerelease: false
23
37
  version_requirements: !ruby/object:Gem::Requirement
24
38
  requirements:
25
39
  - - "~>"
26
40
  - !ruby/object:Gem::Version
27
- version: 2.19.0
41
+ version: 2.19.4
28
42
  - !ruby/object:Gem::Dependency
29
- name: much-plugin
43
+ name: much-mixin
30
44
  requirement: !ruby/object:Gem::Requirement
31
45
  requirements:
32
46
  - - "~>"
33
47
  - !ruby/object:Gem::Version
34
- version: 0.2.2
48
+ version: 0.2.4
35
49
  type: :runtime
36
50
  prerelease: false
37
51
  version_requirements: !ruby/object:Gem::Requirement
38
52
  requirements:
39
53
  - - "~>"
40
54
  - !ruby/object:Gem::Version
41
- version: 0.2.2
55
+ version: 0.2.4
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: scmd
44
58
  requirement: !ruby/object:Gem::Requirement
45
59
  requirements:
46
60
  - - "~>"
47
61
  - !ruby/object:Gem::Version
48
- version: 3.0.3
62
+ version: 3.0.4
49
63
  type: :runtime
50
64
  prerelease: false
51
65
  version_requirements: !ruby/object:Gem::Requirement
52
66
  requirements:
53
67
  - - "~>"
54
68
  - !ruby/object:Gem::Version
55
- version: 3.0.3
69
+ version: 3.0.4
56
70
  description: '"Juh Gem", baby! (a gem utility CLI)'
57
71
  email:
58
72
  - kelly@kellyredding.com
@@ -80,9 +94,12 @@ files:
80
94
  - lib/ggem/template_file/README.md.erb
81
95
  - lib/ggem/template_file/gemspec.erb
82
96
  - lib/ggem/template_file/gitignore.erb
97
+ - lib/ggem/template_file/l.yml.erb
83
98
  - lib/ggem/template_file/lib.rb.erb
84
99
  - lib/ggem/template_file/lib_version.rb.erb
100
+ - lib/ggem/template_file/rubocop.yml.erb
85
101
  - lib/ggem/template_file/ruby-version.erb
102
+ - lib/ggem/template_file/t.yml.erb
86
103
  - lib/ggem/template_file/test_helper.rb.erb
87
104
  - lib/ggem/template_file/test_support_factory.rb.erb
88
105
  - lib/ggem/version.rb
@@ -117,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
134
  - !ruby/object:Gem::Version
118
135
  version: '0'
119
136
  requirements: []
120
- rubygems_version: 3.1.2
137
+ rubygems_version: 3.2.4
121
138
  signing_key:
122
139
  specification_version: 4
123
140
  summary: '"Juh Gem", baby! (a gem utility CLI)'