rops 1.0.8 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/bin/rops +9 -0
  4. data/lib/version.rb +5 -0
  5. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4aaa2c9386c4426ae0e64d6c9136e208683d396af5175436e29105bd53be14f9
4
- data.tar.gz: 2ca5c4ff6f0ff34ccdadc1a09113a3d5e4ea61d9022bc8476bb37190ccab92ab
3
+ metadata.gz: 6c165439c24766bf43fb4cbf561e8fefdd0bb8b4cb50534577289edd54fbca89
4
+ data.tar.gz: 7e62f623efbe2f6335030a42482cb0768bb61af1bb93e562ba385314e78bd57a
5
5
  SHA512:
6
- metadata.gz: 4764f72f23aaa3c3a7694328cabfcea48b509fa109ae9af4487dc8b965b6c4060bb7a59d501a31eee9377983a6837da118c7fb75d1a1b497008a16678d72f17d
7
- data.tar.gz: c3249a2060872d2606b4118c8a21b173a5aeec58d19d81d2d38f2d21ce3995280f59e3cf0d23100e470b3facb57a416c343d84cca9f09271a1b768d208ab7828
6
+ metadata.gz: 573db01279424e05de52740d435eadf998fe6f79248908c3dbd4a33864cce8c9cae2cb7a3dcf328af6c1e1b60e2a4511663ffb63a4273a8cd53eaa65dd4f74b0
7
+ data.tar.gz: 40dbd0654aca609a450588c4eb2f5d59d8715db4664d626aa9148b0fc46d180e1bbf473d859409af4dccf3354cdfc36d016b6b72b1f9180d9d3202e9f58d17a3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rops (1.0.8)
4
+ rops (1.1.0)
5
5
  activesupport (~> 6.1.4)
6
6
  dry-cli (~> 0.7.0)
7
7
  git (~> 1.9.1)
data/bin/rops CHANGED
@@ -9,6 +9,7 @@ require 'hashdiff'
9
9
 
10
10
  require 'core_ext'
11
11
  require 'deployer'
12
+ require 'version'
12
13
 
13
14
  module Record360
14
15
  module Operations
@@ -235,10 +236,18 @@ module Record360
235
236
  end
236
237
  end
237
238
 
239
+ class Version < Dry::CLI::Command
240
+ desc "output version information and exit"
241
+ def call
242
+ puts VERSION
243
+ end
244
+ end
245
+
238
246
  register 'status', CurrentStatus
239
247
  register 'build', BuildImage
240
248
  register 'push', PushImage
241
249
  register 'deploy', DeployImage
250
+ register 'version', Version
242
251
  end
243
252
  end
244
253
 
data/lib/version.rb ADDED
@@ -0,0 +1,5 @@
1
+ module Record360
2
+ module Operations
3
+ VERSION = '1.1.0'
4
+ end
5
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rops
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Sloan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-02 00:00:00.000000000 Z
11
+ date: 2021-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli
@@ -113,6 +113,7 @@ files:
113
113
  - lib/git_ext.rb
114
114
  - lib/image.rb
115
115
  - lib/site.rb
116
+ - lib/version.rb
116
117
  homepage: https://github.com/Record360/rops
117
118
  licenses:
118
119
  - MIT