cgem 0.1.4 → 0.1.5

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/README.md +2 -1
  3. data/exe/cgem +1 -1
  4. data/lib/cgem/version.rb +1 -1
  5. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b38acdfa0b2a7de15df1f3fe1a255b4e4c52711
4
- data.tar.gz: 9fda88158630696c977b240e07cae578d6b0ead1
3
+ metadata.gz: 5e6af54d749a2b6878307b4e461573006915b592
4
+ data.tar.gz: 30b538da3aa593de33e394f1b285a437e0ec0c3d
5
5
  SHA512:
6
- metadata.gz: 6ca17d75c2d833fb69eb8dedfacf3deba8bbe3330d5620bc3b9176923b814190a20e23b823a4ea5ff0abe683852fdd232003d84b957d16134f90c12835dd962c
7
- data.tar.gz: 4430f6ee45287b8979374600daeade3eb7b196fb3a2cb5d0dbab03b1d8dce09d15114271bdea7da93bba04f376ae49ef7bcf289240378d9d88109f3671e54876
6
+ metadata.gz: 4e8122f7fa06a039a8e8729aa55fdcf1647e7c6c55a1a6c8cc5641bc83695760889d6a8bdb2f1fad1811f640faf5ebe4130a9fa49697f83c63bdf31e35f43559
7
+ data.tar.gz: 16d9193857b9e820bf5f2869f61a8a9f0dfff571b441b9d8471326cb6ab2df7b3b94fd25de97ca0167a84a8085db6a9fc3dba2eefb7a78358c929b11a6db9027
data/README.md CHANGED
@@ -16,8 +16,9 @@ cgem use rchina
16
16
  cgem use default # rubygems
17
17
  cgem list
18
18
  cgem setup rchina
19
- GEM_SOURCE=rchina cgem setup
19
+ CGEM_KEY=rchina cgem setup
20
20
  cgem status # default
21
+ cgem current # get current gem source
21
22
  ```
22
23
 
23
24
  ## Development
data/exe/cgem CHANGED
@@ -43,7 +43,7 @@ class CgemCLI < Thor
43
43
 
44
44
  desc 'setup [SOURCE]', 'install by environment variable'
45
45
  def setup(source = nil)
46
- env_key = 'GEM_SOURCE'
46
+ env_key = 'CGEM_KEY'
47
47
  source ||= ENV[env_key]
48
48
  abort "Not specify gem source or environment variable #{env_key}" if source.nil?
49
49
  abort "Please use source key in #{Cgem.gem_sources.keys}" if source.start_with?('http')
@@ -1,3 +1,3 @@
1
1
  module Cgem
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cgem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruijian Cao
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-18 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.5.2
113
+ rubygems_version: 2.6.14
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Change gem sources easily!