incr 0.7.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/ci.yml +25 -0
- data/.github/workflows/gem-push.yml +39 -0
- data/.rspec +3 -0
- data/.rubocop.yml +8 -0
- data/.tool-versions +1 -0
- data/Gemfile.lock +61 -6
- data/README.md +12 -9
- data/Rakefile +9 -0
- data/bin/incr +14 -5
- data/incr.gemspec +9 -2
- data/lib/incr/command/laravel.rb +58 -0
- data/lib/incr/command/mix.rb +16 -17
- data/lib/incr/command/npm.rb +23 -19
- data/lib/incr/service/file_helper.rb +1 -5
- data/lib/incr/service/repository.rb +1 -1
- data/lib/incr/version.rb +1 -1
- data/lib/incr.rb +1 -0
- data/spec/fixtures/laravel/app.php +6 -0
- data/spec/fixtures/mix/mix.exs +30 -0
- data/spec/fixtures/npmv6/package-lock.json +13 -0
- data/spec/fixtures/npmv6/package.json +7 -0
- data/spec/fixtures/npmv7/package-lock.json +30 -0
- data/spec/fixtures/npmv7/package.json +7 -0
- data/spec/incr/command/laravel_spec.rb +76 -0
- data/spec/incr/command/mix_spec.rb +97 -0
- data/spec/incr/command/npm_spec.rb +197 -0
- data/spec/incr/service/file_helper_spec.rb +72 -0
- data/spec/incr/service/version_spec.rb +53 -0
- data/spec/spec_helper.rb +122 -0
- metadata +88 -12
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: incr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean-Philippe Couture
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.21.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.21.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sem_version
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,15 +44,71 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.19.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
55
|
-
|
54
|
+
version: 1.19.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 13.2.1
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 13.2.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 3.13.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.13.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.63.5
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.63.5
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: meowcop
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.2.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.2.0
|
111
|
+
description:
|
56
112
|
email:
|
57
113
|
- jcouture@gmail.com
|
58
114
|
executables:
|
@@ -60,26 +116,46 @@ executables:
|
|
60
116
|
extensions: []
|
61
117
|
extra_rdoc_files: []
|
62
118
|
files:
|
119
|
+
- ".github/dependabot.yml"
|
120
|
+
- ".github/workflows/ci.yml"
|
121
|
+
- ".github/workflows/gem-push.yml"
|
63
122
|
- ".gitignore"
|
123
|
+
- ".rspec"
|
124
|
+
- ".rubocop.yml"
|
125
|
+
- ".tool-versions"
|
64
126
|
- CODE_OF_CONDUCT.md
|
65
127
|
- Gemfile
|
66
128
|
- Gemfile.lock
|
67
129
|
- LICENSE.txt
|
68
130
|
- README.md
|
131
|
+
- Rakefile
|
69
132
|
- bin/incr
|
70
133
|
- incr.gemspec
|
71
134
|
- lib/incr.rb
|
135
|
+
- lib/incr/command/laravel.rb
|
72
136
|
- lib/incr/command/mix.rb
|
73
137
|
- lib/incr/command/npm.rb
|
74
138
|
- lib/incr/service/file_helper.rb
|
75
139
|
- lib/incr/service/repository.rb
|
76
140
|
- lib/incr/service/version.rb
|
77
141
|
- lib/incr/version.rb
|
142
|
+
- spec/fixtures/laravel/app.php
|
143
|
+
- spec/fixtures/mix/mix.exs
|
144
|
+
- spec/fixtures/npmv6/package-lock.json
|
145
|
+
- spec/fixtures/npmv6/package.json
|
146
|
+
- spec/fixtures/npmv7/package-lock.json
|
147
|
+
- spec/fixtures/npmv7/package.json
|
148
|
+
- spec/incr/command/laravel_spec.rb
|
149
|
+
- spec/incr/command/mix_spec.rb
|
150
|
+
- spec/incr/command/npm_spec.rb
|
151
|
+
- spec/incr/service/file_helper_spec.rb
|
152
|
+
- spec/incr/service/version_spec.rb
|
153
|
+
- spec/spec_helper.rb
|
78
154
|
homepage: https://github.com/jcouture/incr
|
79
155
|
licenses:
|
80
156
|
- MIT
|
81
157
|
metadata: {}
|
82
|
-
post_install_message:
|
158
|
+
post_install_message:
|
83
159
|
rdoc_options: []
|
84
160
|
require_paths:
|
85
161
|
- lib
|
@@ -88,15 +164,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
88
164
|
requirements:
|
89
165
|
- - ">="
|
90
166
|
- !ruby/object:Gem::Version
|
91
|
-
version: '
|
167
|
+
version: '3.2'
|
92
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
169
|
requirements:
|
94
170
|
- - ">="
|
95
171
|
- !ruby/object:Gem::Version
|
96
172
|
version: '0'
|
97
173
|
requirements: []
|
98
|
-
rubygems_version: 3.
|
99
|
-
signing_key:
|
174
|
+
rubygems_version: 3.4.10
|
175
|
+
signing_key:
|
100
176
|
specification_version: 4
|
101
177
|
summary: Tasteful utility to increment the version number and create a corresponding
|
102
178
|
git tag.
|