bixby-common 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +25 -25
- data/VERSION +1 -1
- data/bixby-common.gemspec +4 -4
- data/lib/bixby-common/api/json_request.rb +6 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ece961c015b2b8956cb3ef072f65179bc02c6484
|
4
|
+
data.tar.gz: ce301ca0ddf424f93877d1f1e5f850565d94cb64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b52ce15fc832bada40a529105abaed507bfe6537b989656fa51f34c89a3259ca4cad3309ffdb934d1ceee8b232ccac852fc28d4640dfe4bf0c01348bd18d8d0
|
7
|
+
data.tar.gz: e92f00a22dae6e916f01f47cd64c70995fce4fa79f3e0098d0a1abee09d6e1da049a6fce1aa38524314f064a925a6019b15230b329838e5007ecc1acab1639c7
|
data/Gemfile.lock
CHANGED
@@ -10,7 +10,7 @@ GIT
|
|
10
10
|
|
11
11
|
GIT
|
12
12
|
remote: git://github.com/chetan/jeweler.git
|
13
|
-
revision:
|
13
|
+
revision: 0334ea443c612bcbe3ebb7594b0a391fab233667
|
14
14
|
branch: bixby
|
15
15
|
specs:
|
16
16
|
jeweler (2.0.1)
|
@@ -55,7 +55,7 @@ GIT
|
|
55
55
|
GEM
|
56
56
|
remote: https://rubygems.org/
|
57
57
|
specs:
|
58
|
-
addressable (2.3.
|
58
|
+
addressable (2.3.8)
|
59
59
|
ansi (1.5.0)
|
60
60
|
awesome_print (1.6.1)
|
61
61
|
bixby-auth (0.1.1)
|
@@ -74,17 +74,17 @@ GEM
|
|
74
74
|
safe_yaml (~> 1.0.0)
|
75
75
|
descendants_tracker (0.0.4)
|
76
76
|
thread_safe (~> 0.3, >= 0.3.1)
|
77
|
-
eventmachine (1.0.
|
78
|
-
eventmachine (1.0.
|
77
|
+
eventmachine (1.0.7)
|
78
|
+
eventmachine (1.0.7-java)
|
79
79
|
faraday (0.9.1)
|
80
80
|
multipart-post (>= 1.2, < 3)
|
81
81
|
faye-websocket (0.9.2)
|
82
82
|
eventmachine (>= 0.12.0)
|
83
83
|
websocket-driver (>= 0.5.1)
|
84
|
-
ffi (1.9.
|
85
|
-
ffi (1.9.
|
84
|
+
ffi (1.9.8)
|
85
|
+
ffi (1.9.8-java)
|
86
86
|
git (1.2.9.1)
|
87
|
-
github_api (0.12.
|
87
|
+
github_api (0.12.3)
|
88
88
|
addressable (~> 2.3)
|
89
89
|
descendants_tracker (~> 0.0.4)
|
90
90
|
faraday (~> 0.8, < 0.10)
|
@@ -93,20 +93,20 @@ GEM
|
|
93
93
|
nokogiri (~> 1.6.3)
|
94
94
|
oauth2
|
95
95
|
growl (1.0.3)
|
96
|
-
hashie (3.
|
97
|
-
highline (1.
|
98
|
-
hirb (0.7.
|
96
|
+
hashie (3.4.1)
|
97
|
+
highline (1.7.1)
|
98
|
+
hirb (0.7.3)
|
99
99
|
hitimes (1.2.2)
|
100
100
|
hitimes (1.2.2-java)
|
101
101
|
httpclient (2.6.0.1)
|
102
|
-
httpi (2.
|
102
|
+
httpi (2.4.0)
|
103
103
|
rack
|
104
104
|
jruby-openssl (0.9.6-java)
|
105
105
|
json (1.8.2)
|
106
106
|
json (1.8.2-java)
|
107
|
-
jwt (1.
|
108
|
-
listen (2.
|
109
|
-
celluloid (
|
107
|
+
jwt (1.4.1)
|
108
|
+
listen (2.10.0)
|
109
|
+
celluloid (~> 0.16.0)
|
110
110
|
rb-fsevent (>= 0.9.3)
|
111
111
|
rb-inotify (>= 0.9)
|
112
112
|
little-plugger (1.1.3)
|
@@ -120,19 +120,19 @@ GEM
|
|
120
120
|
mixlib-shellout (2.0.1)
|
121
121
|
mocha (1.1.0)
|
122
122
|
metaclass (~> 0.0.1)
|
123
|
-
multi_json (1.
|
123
|
+
multi_json (1.11.0)
|
124
124
|
multi_xml (0.5.5)
|
125
125
|
multipart-post (2.0.0)
|
126
|
-
nokogiri (1.6.
|
126
|
+
nokogiri (1.6.6.2)
|
127
127
|
mini_portile (~> 0.6.0)
|
128
|
-
nokogiri (1.6.
|
128
|
+
nokogiri (1.6.6.2-java)
|
129
129
|
oauth2 (1.0.0)
|
130
130
|
faraday (>= 0.8, < 0.10)
|
131
131
|
jwt (~> 1.0)
|
132
132
|
multi_json (~> 1.3)
|
133
133
|
multi_xml (~> 0.5)
|
134
134
|
rack (~> 1.2)
|
135
|
-
oj (2.
|
135
|
+
oj (2.12.1)
|
136
136
|
pry (0.10.1)
|
137
137
|
coderay (~> 1.1.0)
|
138
138
|
method_source (~> 0.8.1)
|
@@ -152,7 +152,7 @@ GEM
|
|
152
152
|
rest-client (1.6.7)
|
153
153
|
mime-types (>= 1.16)
|
154
154
|
safe_yaml (1.0.4)
|
155
|
-
semver2 (3.4.
|
155
|
+
semver2 (3.4.2)
|
156
156
|
simplecov-console (0.2.0)
|
157
157
|
colorize
|
158
158
|
hirb
|
@@ -164,19 +164,19 @@ GEM
|
|
164
164
|
term-ansicolor (1.2.2)
|
165
165
|
tins (~> 0.8)
|
166
166
|
thor (0.18.1)
|
167
|
-
thread_safe (0.3.
|
168
|
-
thread_safe (0.3.
|
167
|
+
thread_safe (0.3.5)
|
168
|
+
thread_safe (0.3.5-java)
|
169
169
|
timers (4.0.1)
|
170
170
|
hitimes
|
171
171
|
tins (0.13.2)
|
172
|
-
webmock (1.
|
172
|
+
webmock (1.21.0)
|
173
173
|
addressable (>= 2.3.6)
|
174
174
|
crack (>= 0.3.2)
|
175
|
-
websocket-driver (0.5.
|
175
|
+
websocket-driver (0.5.4)
|
176
176
|
websocket-extensions (>= 0.1.0)
|
177
|
-
websocket-driver (0.5.
|
177
|
+
websocket-driver (0.5.4-java)
|
178
178
|
websocket-extensions (>= 0.1.0)
|
179
|
-
websocket-extensions (0.1.
|
179
|
+
websocket-extensions (0.1.2)
|
180
180
|
yard (0.8.7.6)
|
181
181
|
|
182
182
|
PLATFORMS
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.4
|
data/bixby-common.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: bixby-common 0.6.
|
5
|
+
# stub: bixby-common 0.6.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bixby-common"
|
9
|
-
s.version = "0.6.
|
9
|
+
s.version = "0.6.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Chetan Sarva"]
|
14
|
-
s.date = "2015-
|
14
|
+
s.date = "2015-04-22"
|
15
15
|
s.description = "Bixby Common files/libs"
|
16
16
|
s.email = "chetan@pixelcop.net"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -86,7 +86,7 @@ Gem::Specification.new do |s|
|
|
86
86
|
]
|
87
87
|
s.homepage = "http://github.com/chetan/bixby-common"
|
88
88
|
s.licenses = ["MIT"]
|
89
|
-
s.rubygems_version = "2.4.
|
89
|
+
s.rubygems_version = "2.4.6"
|
90
90
|
s.summary = "Bixby Common"
|
91
91
|
|
92
92
|
if s.respond_to? :specification_version then
|
@@ -21,16 +21,18 @@ class JsonRequest
|
|
21
21
|
@params = params
|
22
22
|
end
|
23
23
|
|
24
|
-
#
|
24
|
+
# Stringify, useful for debugging
|
25
|
+
#
|
26
|
+
# @param [Boolean] include_params whether or not to include params in the output (default: true)
|
25
27
|
#
|
26
28
|
# @return [String]
|
27
|
-
def to_s
|
29
|
+
def to_s(include_params=true)
|
28
30
|
s = []
|
29
31
|
s << "JsonRequest:#{self.object_id}"
|
30
32
|
s << " operation: #{self.operation}"
|
31
|
-
s << " params: " + MultiJson.dump(self.params)
|
33
|
+
s << " params: " + MultiJson.dump(self.params) if include_params
|
32
34
|
s.join("\n")
|
33
|
-
end
|
35
|
+
end
|
34
36
|
|
35
37
|
def to_wire
|
36
38
|
MultiJson.dump(self)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bixby-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chetan Sarva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bixby-auth
|
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
298
298
|
version: '0'
|
299
299
|
requirements: []
|
300
300
|
rubyforge_project:
|
301
|
-
rubygems_version: 2.4.
|
301
|
+
rubygems_version: 2.4.6
|
302
302
|
signing_key:
|
303
303
|
specification_version: 4
|
304
304
|
summary: Bixby Common
|