gemjar 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/gemjar.gemspec +10 -0
- data/lib/gemjar/cli.rb +2 -0
- data/lib/gemjar/version.rb +1 -1
- metadata +15 -3
data/gemjar.gemspec
CHANGED
@@ -12,6 +12,16 @@ Gem::Specification.new do |gem|
|
|
12
12
|
gem.summary = %q{Official GemJar HQ RubyGem.}
|
13
13
|
gem.homepage = "https://gemjarhq.com"
|
14
14
|
|
15
|
+
gem.post_install_message = <<MESSAGE
|
16
|
+
|
17
|
+
=== GemJar HQ
|
18
|
+
|
19
|
+
For support please visit https://gemjarhq.com/support
|
20
|
+
Run `gemjar` for help and list of commands
|
21
|
+
Push your first gem by running gemjar `push mygem-0.0.1.gem`
|
22
|
+
|
23
|
+
MESSAGE
|
24
|
+
|
15
25
|
gem.files = `git ls-files`.split($/)
|
16
26
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
27
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
data/lib/gemjar/cli.rb
CHANGED
@@ -99,6 +99,8 @@ module GemJar
|
|
99
99
|
|
100
100
|
def with_rescue(&block)
|
101
101
|
block.call
|
102
|
+
rescue RestClient::ServiceUnavailable
|
103
|
+
puts "GemJar HQ is currently unavailable, please try again in a bit and follow us on twitter @gemjarhq for latest updates".yellow
|
102
104
|
rescue RestClient::NotAcceptable => e
|
103
105
|
puts JSON.parse(e.response)['error_message'].red
|
104
106
|
rescue RestClient::Unauthorized
|
data/lib/gemjar/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemjar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
@@ -132,7 +132,19 @@ files:
|
|
132
132
|
- lib/gemjar/version.rb
|
133
133
|
homepage: https://gemjarhq.com
|
134
134
|
licenses: []
|
135
|
-
post_install_message:
|
135
|
+
post_install_message: ! '
|
136
|
+
|
137
|
+
=== GemJar HQ
|
138
|
+
|
139
|
+
|
140
|
+
For support please visit https://gemjarhq.com/support
|
141
|
+
|
142
|
+
Run `gemjar` for help and list of commands
|
143
|
+
|
144
|
+
Push your first gem by running gemjar `push mygem-0.0.1.gem`
|
145
|
+
|
146
|
+
|
147
|
+
'
|
136
148
|
rdoc_options: []
|
137
149
|
require_paths:
|
138
150
|
- lib
|