revision 1.5.2 → 1.5.3

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: 4668b7330bbac8c0ff2be80e329372715b4e9a1c855324208dad6d0975c3fc53
4
- data.tar.gz: 27b0b200fd4e66fc6af0a579d4443d345f08e4205f1e89aafecebf7597d85365
3
+ metadata.gz: 0aeac36b67440a0670c7b89fc3602ae9bfda2bc43add4f6ac3dbb44c0d2d7a45
4
+ data.tar.gz: 4fa17d34cd367afafb0afb75343405a793ad2f732364ce36680059907d4b8f92
5
5
  SHA512:
6
- metadata.gz: 533d69c1f6746f5aeedbbe72420937ed6976eb6dad4dd2ca8a75a7b13df8fa749b65284b137764997f62157a395f42d3ab11f23295b6b5035e14a57b4f524988
7
- data.tar.gz: cc6badb780cfff6bae1df61c5697df6c2c37db2221178fe9446c132aabbbe5d0b5a3ced994ca416b292dadef7276b99ef238b46ac502ea7b505955fcd951b05a
6
+ metadata.gz: 231c4a899d91b78bc32e160b382b160df9a3e09f0953b81f16101b981bcb350d0252140e9cf075c5daeba75b91b968e54e2b7d382d3e3c949eb2d0fbcc1d01cd
7
+ data.tar.gz: 6f63c22ed930a5a3830c89fe2902ff9ec6a9ebb01e79810bfa3690e28f25c3ae6e2f85a16d63c4c9a90a8ff6b681f1c937fd1082830381b4c9166de2f0368522
data/README.org CHANGED
@@ -265,11 +265,27 @@ at that root could include them as follows...
265
265
 
266
266
  * Development
267
267
 
268
+ ** Environment
268
269
  After checking out the repo, run =bin/setup= to install dependencies. Then, run =rake spec= to run the tests. You can also run =bin/console= for an interactive prompt that will allow you to experiment.
269
270
 
270
- To install this gem onto your local machine, run =bundle exec rake install=.
271
+ ** Installation from source
272
+ To install this gem from source on your local machine, run =bundle exec rake install= from the repository root.
271
273
 
272
- To release a new version, update the version number in =version.rb=. You can do this using the gem, by entering =revision minor= (or =patch= or =major= as appropriate), and then run =bundle exec rake release=, which will create a git tag for the version, push git commits and tags, and push the =.gem= file to [rubygems.org](https://rubygems.org).
274
+ ** Incrementing release versions
275
+ You can do this using the gem, by entering one of the following commands at the repository root
276
+
277
+ | Command | Effect |
278
+ |------------------+----------------------------------------------|
279
+ | =revision patch= | Patch version increment, e.g. 1.1.0 -> 1.1.1 |
280
+ | =revision minor= | Patch version increment, e.g. 1.1.1 -> 1.2.0 |
281
+ | =revision major= | Major version increment, e.g. 1.2.0 -> 2.0.0 |
282
+
283
+ You'll be prompted to rebuild the gem, commit changes to the git repo and add a revision tag to the commit.
284
+
285
+ Alternatively, manually update the version number in =version.rb= and rebuild/install locally using =bundle exec rake install=
286
+
287
+ ** Deploying to rubygems
288
+ =bundle exec rake release=, will create a git tag for the version (if not, push git commits and tags, and push the =.gem= file to [rubygems.org](https://rubygems.org).
273
289
 
274
290
  * Contributing
275
291
 
@@ -166,7 +166,6 @@ module Revision
166
166
  puts commit_message
167
167
  system("git commit -a -m \"#{commit_message}\"")
168
168
  puts "Tagging as #{tag_id}"
169
- puts "git tag -a #{tag_id} -m \"#{tag_annotation}\""
170
169
  system("git tag -a #{tag_id} -m \"#{tag_annotation}\"")
171
170
  end
172
171
  end
@@ -245,9 +244,11 @@ module Revision
245
244
 
246
245
  raise Errors::NotSpecified.new(':deploy') if destinations.empty?
247
246
 
248
- if @config.dig(:deploy, :pre)
249
- exec_pipeline('deploy (pre)', @config[:deploy][:pre])
250
- end
247
+ #... Eliminated global deployment pre/post functions.
248
+ #... if applicable to all dests, the logic should probably be a build step...
249
+ # if @config.dig(:deploy, :pre)
250
+ # exec_pipeline('deploy (pre)', @config[:deploy][:pre])
251
+ # end
251
252
 
252
253
  destinations.each do |d|
253
254
  destination = File.expand_path(d[:dest])
@@ -279,11 +280,9 @@ module Revision
279
280
  end
280
281
  end
281
282
 
282
-
283
-
284
- if @config.dig(:deploy, :post)
285
- exec_pipeline('deploy (post)', @config[:deploy][:post])
286
- end
283
+ # if @config.dig(:deploy, :post)
284
+ # exec_pipeline('deploy (post)', @config[:deploy][:post])
285
+ # end
287
286
  end
288
287
 
289
288
  def package
@@ -1,10 +1,13 @@
1
1
  # Defines the revision ID for the revision gem
2
2
  module Revision
3
- VERSION = "1.5.2".freeze
3
+ VERSION = "1.5.3".freeze
4
4
  end
5
5
 
6
6
  # <BEGIN CHANGELOG>
7
7
  #
8
+ # Version 1.5.3 (26 Oct 2021)
9
+ # - Multiple deployment destinations bugfix -- only last destination was being used.
10
+ #
8
11
  # Version 1.5.2 (10 Jun 2020)
9
12
  # - Uprevving around undeletable git tag
10
13
  #
data/revision.gemspec CHANGED
@@ -28,4 +28,15 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency "rake", "~> 13.0"
29
29
  spec.add_development_dependency "rspec", "~> 3.0"
30
30
  spec.add_development_dependency "pry"
31
+ #emacs ruby layer deps...
32
+ #...lsp backend
33
+ spec.add_development_dependency "steep"
34
+ spec.add_development_dependency "solargraph"
35
+ #...robe backend
36
+ #....watch this space
37
+ #...generic
38
+ spec.add_development_dependency "ruby_parser"
39
+ spec.add_development_dependency "rubocop"
40
+ spec.add_development_dependency "prettier"
41
+ spec.add_development_dependency "seeing_is_believing"
31
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: revision
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cormac Cannon
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-10 00:00:00.000000000 Z
11
+ date: 2021-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -94,10 +94,94 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: steep
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: solargraph
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: ruby_parser
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: prettier
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: seeing_is_believing
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
97
181
  description: Updates project revision identifiers in software source files and associated
98
182
  change log. Can also build and package project archives as a zip and optionally
99
183
  commit, tag and push to a Git repo.
100
- email:
184
+ email:
101
185
  executables:
102
186
  - revision
103
187
  extensions: []
@@ -127,7 +211,7 @@ licenses:
127
211
  - MIT
128
212
  metadata:
129
213
  source_code_uri: https://github.com/cormacc/revision
130
- post_install_message:
214
+ post_install_message:
131
215
  rdoc_options: []
132
216
  require_paths:
133
217
  - lib
@@ -142,8 +226,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
226
  - !ruby/object:Gem::Version
143
227
  version: '0'
144
228
  requirements: []
145
- rubygems_version: 3.1.3
146
- signing_key:
229
+ rubygems_version: 3.2.13
230
+ signing_key:
147
231
  specification_version: 4
148
232
  summary: Language-agnostic revision management tool
149
233
  test_files: []