ggem 1.9.1 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,13 +2,11 @@ require "assert"
2
2
  require "ggem/gem"
3
3
 
4
4
  class GGem::Gem
5
-
6
5
  class UnitTests < Assert::Context
7
6
  desc "GGem::Gem"
8
7
  setup do
9
8
  @gem_class = GGem::Gem
10
9
  end
11
-
12
10
  end
13
11
 
14
12
  class InitTests < UnitTests
@@ -34,7 +32,5 @@ class GGem::Gem
34
32
  end
35
33
 
36
34
  # most of the gem's behavior is covered in the system tests
37
-
38
35
  end
39
-
40
36
  end
@@ -5,7 +5,6 @@ require "ggem/version"
5
5
  require "test/support/cmd_tests_helpers"
6
6
 
7
7
  class GGem::Gemspec
8
-
9
8
  class UnitTests < Assert::Context
10
9
  desc "GGem::Gemspec"
11
10
  setup do
@@ -30,7 +29,6 @@ class GGem::Gemspec
30
29
  assert subject::LoadError < ArgumentError
31
30
  assert subject::CmdError < RuntimeError
32
31
  end
33
-
34
32
  end
35
33
 
36
34
  class InitTests < UnitTests
@@ -87,16 +85,15 @@ class GGem::Gemspec
87
85
  @gemspec_class.new(TEST_SUPPORT_PATH)
88
86
  end
89
87
  end
90
-
91
88
  end
92
89
 
93
90
  class CmdTests < InitTests
94
91
  include GGem::CmdTestsHelpers
92
+
95
93
  setup do
96
94
  @exp_build_path = @gem1_root_path.join(subject.gem_file_name)
97
95
  @exp_pkg_path = @gem1_root_path.join(@gemspec_class::BUILD_TO_DIRNAME, subject.gem_file_name)
98
96
  end
99
-
100
97
  end
101
98
 
102
99
  class RunBuildCmdTests < CmdTests
@@ -116,7 +113,6 @@ class GGem::Gemspec
116
113
  should "complain if any system cmds are not successful" do
117
114
  assert_exp_cmds_error(CmdError){ subject.run_build_cmd }
118
115
  end
119
-
120
116
  end
121
117
 
122
118
  class RunInstallCmdTests < CmdTests
@@ -132,7 +128,6 @@ class GGem::Gemspec
132
128
  should "complain if the system cmd is not successful" do
133
129
  assert_exp_cmds_error(CmdError){ subject.run_install_cmd }
134
130
  end
135
-
136
131
  end
137
132
 
138
133
  class RunPushCmdTests < CmdTests
@@ -148,7 +143,5 @@ class GGem::Gemspec
148
143
  should "complain if the system cmd is not successful" do
149
144
  assert_exp_cmds_error(CmdError){ subject.run_push_cmd }
150
145
  end
151
-
152
146
  end
153
-
154
147
  end
@@ -4,7 +4,6 @@ require "ggem/git_repo"
4
4
  require "test/support/cmd_tests_helpers"
5
5
 
6
6
  class GGem::GitRepo
7
-
8
7
  class UnitTests < Assert::Context
9
8
  desc "GGem::GitRepo"
10
9
  setup do
@@ -16,7 +15,6 @@ class GGem::GitRepo
16
15
  assert subject::NotFoundError < ArgumentError
17
16
  assert subject::CmdError < RuntimeError
18
17
  end
19
-
20
18
  end
21
19
 
22
20
  class InitTests < UnitTests
@@ -36,12 +34,10 @@ class GGem::GitRepo
36
34
  should "know its path" do
37
35
  assert_equal @repo_path, subject.path
38
36
  end
39
-
40
37
  end
41
38
 
42
39
  class CmdTests < InitTests
43
40
  include GGem::CmdTestsHelpers
44
-
45
41
  end
46
42
 
47
43
  class RunInitCmdTests < CmdTests
@@ -49,7 +45,7 @@ class GGem::GitRepo
49
45
  setup do
50
46
  @exp_cmds_run = [
51
47
  "cd #{@repo_path} && git init",
52
- "cd #{@repo_path} && git add --all && git add -f *.gitkeep"
48
+ "cd #{@repo_path} && git add --all && git add -f *.keep"
53
49
  ]
54
50
  end
55
51
 
@@ -60,7 +56,6 @@ class GGem::GitRepo
60
56
  should "complain if any system cmds are not successful" do
61
57
  assert_exp_cmds_error(CmdError){ subject.run_init_cmd }
62
58
  end
63
-
64
59
  end
65
60
 
66
61
  class RunValidateCleanCmdTests < CmdTests
@@ -78,7 +73,6 @@ class GGem::GitRepo
78
73
  should "complain if any system cmds are not successful" do
79
74
  assert_exp_cmds_error(CmdError){ subject.run_validate_clean_cmd }
80
75
  end
81
-
82
76
  end
83
77
 
84
78
  class RunValidateCommittedCmdTests < CmdTests
@@ -96,7 +90,6 @@ class GGem::GitRepo
96
90
  should "complain if any system cmds are not successful" do
97
91
  assert_exp_cmds_error(CmdError){ subject.run_validate_committed_cmd }
98
92
  end
99
-
100
93
  end
101
94
 
102
95
  class RunPushCmdTests < CmdTests
@@ -115,7 +108,6 @@ class GGem::GitRepo
115
108
  should "complain if any system cmds are not successful" do
116
109
  assert_exp_cmds_error(CmdError){ subject.run_push_cmd }
117
110
  end
118
-
119
111
  end
120
112
 
121
113
  class RunAddVersionTagCmdTests < CmdTests
@@ -136,7 +128,6 @@ class GGem::GitRepo
136
128
  should "complain if any system cmds are not successful" do
137
129
  assert_exp_cmds_error(CmdError){ subject.run_add_version_tag_cmd(@version, @tag) }
138
130
  end
139
-
140
131
  end
141
132
 
142
133
  class RunRmTagCmdTests < CmdTests
@@ -156,7 +147,5 @@ class GGem::GitRepo
156
147
  should "complain if any system cmds are not successful" do
157
148
  assert_exp_cmds_error(CmdError){ subject.run_rm_tag_cmd(@tag) }
158
149
  end
159
-
160
150
  end
161
-
162
151
  end
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.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-10-20 00:00:00.000000000 Z
12
+ date: 2020-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: assert
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 2.17.0
20
+ version: 2.18.2
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 2.17.0
27
+ version: 2.18.2
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: much-plugin
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.2.0
34
+ version: 0.2.2
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.2.0
41
+ version: 0.2.2
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: scmd
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -78,7 +78,6 @@ files:
78
78
  - lib/ggem/template_file/Gemfile.erb
79
79
  - lib/ggem/template_file/LICENSE.erb
80
80
  - lib/ggem/template_file/README.md.erb
81
- - lib/ggem/template_file/circleci_config.yml.erb
82
81
  - lib/ggem/template_file/gemspec.erb
83
82
  - lib/ggem/template_file/gitignore.erb
84
83
  - lib/ggem/template_file/lib.rb.erb
@@ -87,7 +86,7 @@ files:
87
86
  - lib/ggem/template_file/test_helper.rb.erb
88
87
  - lib/ggem/template_file/test_support_factory.rb.erb
89
88
  - lib/ggem/version.rb
90
- - log/.gitkeep
89
+ - log/.keep
91
90
  - test/helper.rb
92
91
  - test/support/cmd_tests_helpers.rb
93
92
  - test/support/factory.rb
@@ -109,17 +108,16 @@ require_paths:
109
108
  - lib
110
109
  required_ruby_version: !ruby/object:Gem::Requirement
111
110
  requirements:
112
- - - ">"
111
+ - - "~>"
113
112
  - !ruby/object:Gem::Version
114
- version: '1.8'
113
+ version: '2.5'
115
114
  required_rubygems_version: !ruby/object:Gem::Requirement
116
115
  requirements:
117
116
  - - ">="
118
117
  - !ruby/object:Gem::Version
119
118
  version: '0'
120
119
  requirements: []
121
- rubyforge_project:
122
- rubygems_version: 2.7.7
120
+ rubygems_version: 3.1.2
123
121
  signing_key:
124
122
  specification_version: 4
125
123
  summary: '"Juh Gem", baby! (a gem utility CLI)'
@@ -1,82 +0,0 @@
1
- # Ruby CircleCI 2.0 configuration file
2
- #
3
- # Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
- #
5
- version: 2
6
-
7
- jobs:
8
- test_ruby_2.3.7:
9
- working_directory: ~/todo_org_name/<%= @gem.name %>/ruby-2.3.7
10
- docker:
11
- - image: circleci/ruby:2.3.7
12
- steps:
13
- - checkout
14
- - restore_cache:
15
- keys:
16
- - ruby-2.3.7-dependencies
17
- - run:
18
- name: install dependencies
19
- command: |
20
- bundle install --jobs=4 --retry=3 --path vendor/bundle
21
- - save_cache:
22
- paths:
23
- - ./vendor/bundle
24
- key: ruby-2.3.7-dependencies
25
- - run:
26
- name: run Assert test suite
27
- command: |
28
- ruby -v
29
- bundle exec assert
30
-
31
- test_ruby_2.4.5:
32
- working_directory: ~/todo_org_name/<%= @gem.name %>/ruby-2.4.5
33
- docker:
34
- - image: circleci/ruby:2.4.5
35
- steps:
36
- - checkout
37
- - restore_cache:
38
- keys:
39
- - ruby-2.4.5-dependencies
40
- - run:
41
- name: install dependencies
42
- command: |
43
- bundle install --jobs=4 --retry=3 --path vendor/bundle
44
- - save_cache:
45
- paths:
46
- - ./vendor/bundle
47
- key: ruby-2.4.5-dependencies
48
- - run:
49
- name: run Assert test suite
50
- command: |
51
- ruby -v
52
- bundle exec assert
53
-
54
- test_ruby_2.5.3:
55
- working_directory: ~/todo_org_name/<%= @gem.name %>/ruby-2.5.3
56
- docker:
57
- - image: circleci/ruby:2.5.3
58
- steps:
59
- - checkout
60
- - restore_cache:
61
- keys:
62
- - ruby-2.5.3-dependencies
63
- - run:
64
- name: install dependencies
65
- command: |
66
- bundle install --jobs=4 --retry=3 --path vendor/bundle
67
- - save_cache:
68
- paths:
69
- - ./vendor/bundle
70
- key: ruby-2.5.3-dependencies
71
- - run:
72
- name: run Assert test suite
73
- command: |
74
- ruby -v
75
- bundle exec assert
76
- workflows:
77
- version: 2
78
- test_ruby_versions:
79
- jobs:
80
- - test_ruby_2.3.7
81
- - test_ruby_2.4.5
82
- - test_ruby_2.5.3