picky-client 4.10.0 → 4.11.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/picky-client/extensions/object.rb +4 -2
- metadata +2 -2
@@ -2,8 +2,10 @@ class Object # :nodoc:all
|
|
2
2
|
|
3
3
|
# Puts a text that informs the user of a missing gem.
|
4
4
|
#
|
5
|
-
|
6
|
-
|
5
|
+
unless instance_methods.include? :warn_gem_missing
|
6
|
+
def warn_gem_missing gem_name, message
|
7
|
+
warn "#{gem_name} gem missing!\nTo use #{message}, you need to:\n 1. Add the following line to Gemfile:\n gem '#{gem_name}'\n 2. Then, run:\n bundle update\n"
|
8
|
+
end
|
7
9
|
end
|
8
10
|
|
9
11
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: picky-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.11.0
|
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: 2012-
|
12
|
+
date: 2012-11-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: yajl-ruby
|