cgem 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/cgem +7 -0
  3. data/lib/cgem/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0005d8546a07aeb3607798da5ed6440499ced780
4
- data.tar.gz: 618b8d3cc95b79d76f437d0c4eabe96034cb8a4e
3
+ metadata.gz: 0e19f81fe6c9b1da7769729b3bf2acbdb6182c79
4
+ data.tar.gz: 6280cb63fd40e538f4c3ce7aea0df77ec96057a7
5
5
  SHA512:
6
- metadata.gz: 55fd5727ff6ddc55d3f86da95ea63dbcde2238a009b11fd4da232f3583eea1a842a0caa549691fd95a5ffcb82a253a3083e10223cbdfde5daba9b61e4d4741d6
7
- data.tar.gz: b149c8df383415fbeae3c810ad73778357261ed4e3af27317edbcfae0281913d31d3e18b922887f2c71c04f4eeb0553e6d15908d1a320d9b38f83bed18a51cac
6
+ metadata.gz: 3ac0ad1615a47cc2083530befc6181d040d63cb2c5dce1a999998b74a78b337df1e8365b76d633c0d06d1e06f1cd196331cfdcad3baf4f4c30e7366eb3758f20
7
+ data.tar.gz: b23760419d65f2543cb2271886218b21c1338e234427140061a96fa376f3eaf43a19f761bc976f4106b5eb01a6f21882a29e27565a5c9bcd92c81f7f78ec6295
data/exe/cgem CHANGED
@@ -28,6 +28,13 @@ class CgemCLI < Thor
28
28
  puts Cgem.gemrc_sources
29
29
  puts Cgem::BundleMirror.new.get
30
30
  end
31
+
32
+ desc 'version', 'show version'
33
+ def version
34
+ puts Cgem::VERSION
35
+ end
36
+ map '-v' => :version
37
+ map '--version' => :version
31
38
  end
32
39
 
33
40
  CgemCLI.start
@@ -1,3 +1,3 @@
1
1
  module Cgem
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cgem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruijian Cao