chsource 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/chsource/cli.rb +2 -2
- data/lib/chsource/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c4fe89a473eb70d48b2090fb68ad6b75aa4db7e
|
4
|
+
data.tar.gz: 9fa72506cfd0e5ab745c436658e167299d795c70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2a20558eeba32e9e828676dcb8a52f02fc6257df8df2bd9ef77d78bb725180088a1afdaddb7dc1c0b5f73860c08ee1115683211cc65489906c785280d1377aa
|
7
|
+
data.tar.gz: 469b9b6ea89d70b5ba53aa7a480c7da83daa4c436656742ce7af90f34e8a4ca41a51eb555929fa6ce9bdd1d82741e98248aded02cfdf30e61d3f756dbfbafbcd
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Chsource
|
2
2
|
|
3
|
-
|
3
|
+
Make Gemfile to use 3rd party sources quickly.
|
4
4
|
|
5
5
|

|
6
6
|
|
@@ -17,7 +17,7 @@ Usage: chsource SOURCE
|
|
17
17
|
|
18
18
|
Examples:
|
19
19
|
$ chsource taobao => source 'http://ruby.taobao.org'
|
20
|
-
$ chsource gzruby => source 'http://gems.gzruby.
|
20
|
+
$ chsource gzruby => source 'http://gems.gzruby.org
|
21
21
|
$ chsource tsinghua => source 'http://mirrors.tuna.tsinghua.edu.cn/rubygems'
|
22
22
|
$ chsource rubygems => source 'http://rubygems.org'
|
23
23
|
|
data/lib/chsource/cli.rb
CHANGED
@@ -14,7 +14,7 @@ module Chsource
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def self.no_gem_file
|
17
|
-
if
|
17
|
+
if !File.exist? 'Gemfile'
|
18
18
|
puts "\e[31mCan't find Gemfile in current directory\e[0m"
|
19
19
|
true
|
20
20
|
else
|
@@ -32,7 +32,7 @@ module Chsource
|
|
32
32
|
|
33
33
|
opts.separator "Examples:"
|
34
34
|
opts.separator " $ chsource taobao => source 'http://ruby.taobao.org'"
|
35
|
-
opts.separator " $ chsource gzruby => source 'http://gems.gzruby.
|
35
|
+
opts.separator " $ chsource gzruby => source 'http://gems.gzruby.org"
|
36
36
|
opts.separator " $ chsource tsinghua => source 'http://mirrors.tuna.tsinghua.edu.cn/rubygems'"
|
37
37
|
opts.separator " $ chsource rubygems => source 'http://rubygems.org'"
|
38
38
|
|
data/lib/chsource/version.rb
CHANGED