threetaps-client 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/models/posting.rb +2 -2
- data/threetaps-client.gemspec +5 -5
- metadata +40 -32
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.4
|
data/lib/models/posting.rb
CHANGED
@@ -63,7 +63,7 @@ class Posting < SuperModel::Base
|
|
63
63
|
if self.annotations
|
64
64
|
annotations = []
|
65
65
|
self.annotations.each{|k,v| annotations << "#{k}:" + "'#{v}'"}
|
66
|
-
posting << ',annotations:' + "
|
66
|
+
posting << ',annotations:' + "{#{annotations.join(',')}}"
|
67
67
|
end
|
68
68
|
posting + "}"
|
69
69
|
end
|
@@ -85,7 +85,7 @@ class Posting < SuperModel::Base
|
|
85
85
|
if self.annotations
|
86
86
|
annotations = []
|
87
87
|
self.annotations.each{|k,v| annotations << "#{k}:" + "'#{v}'"}
|
88
|
-
data << ",annotations:" + "
|
88
|
+
data << ",annotations:" + "{#{annotations.join(',')}}"
|
89
89
|
end
|
90
90
|
data << "}"
|
91
91
|
data << "]"
|
data/threetaps-client.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{threetaps-client}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "1.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["3taps.com"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-04-12}
|
13
13
|
s.description = %q{A Ruby gem for accessing the 3taps API. See more at http://developers.3taps.net}
|
14
14
|
s.email = %q{developers@3taps.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -80,12 +80,13 @@ Gem::Specification.new do |s|
|
|
80
80
|
"test/helper.rb",
|
81
81
|
"test/models/test_posting.rb",
|
82
82
|
"test/test_struct.rb",
|
83
|
-
"test/test_threetaps-client.rb"
|
83
|
+
"test/test_threetaps-client.rb",
|
84
|
+
"threetaps-client.gemspec"
|
84
85
|
]
|
85
86
|
s.homepage = %q{https://github.com/3taps/3taps-Ruby-Client}
|
86
87
|
s.licenses = ["MIT"]
|
87
88
|
s.require_paths = ["lib"]
|
88
|
-
s.rubygems_version = %q{1.
|
89
|
+
s.rubygems_version = %q{1.7.2}
|
89
90
|
s.summary = %q{A Ruby gem for accessing the 3taps API}
|
90
91
|
s.test_files = [
|
91
92
|
"spec/client/client_spec.rb",
|
@@ -116,7 +117,6 @@ Gem::Specification.new do |s|
|
|
116
117
|
]
|
117
118
|
|
118
119
|
if s.respond_to? :specification_version then
|
119
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
120
120
|
s.specification_version = 3
|
121
121
|
|
122
122
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: threetaps-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 31
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 1
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
9
|
+
- 4
|
10
|
+
version: 1.0.4
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- 3taps.com
|
@@ -14,123 +15,130 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2011-04-
|
18
|
-
default_executable:
|
18
|
+
date: 2011-04-12 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
name: supermodel
|
22
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|
23
22
|
none: false
|
24
23
|
requirements:
|
25
24
|
- - ~>
|
26
25
|
- !ruby/object:Gem::Version
|
26
|
+
hash: 19
|
27
27
|
segments:
|
28
28
|
- 0
|
29
29
|
- 1
|
30
30
|
- 4
|
31
31
|
version: 0.1.4
|
32
|
-
type: :runtime
|
33
|
-
prerelease: false
|
34
32
|
version_requirements: *id001
|
33
|
+
name: supermodel
|
34
|
+
prerelease: false
|
35
|
+
type: :runtime
|
35
36
|
- !ruby/object:Gem::Dependency
|
36
|
-
name: curb
|
37
37
|
requirement: &id002 !ruby/object:Gem::Requirement
|
38
38
|
none: false
|
39
39
|
requirements:
|
40
40
|
- - ~>
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
+
hash: 17
|
42
43
|
segments:
|
43
44
|
- 0
|
44
45
|
- 7
|
45
46
|
- 9
|
46
47
|
version: 0.7.9
|
47
|
-
type: :runtime
|
48
|
-
prerelease: false
|
49
48
|
version_requirements: *id002
|
49
|
+
name: curb
|
50
|
+
prerelease: false
|
51
|
+
type: :runtime
|
50
52
|
- !ruby/object:Gem::Dependency
|
51
|
-
name: activesupport
|
52
53
|
requirement: &id003 !ruby/object:Gem::Requirement
|
53
54
|
none: false
|
54
55
|
requirements:
|
55
56
|
- - ~>
|
56
57
|
- !ruby/object:Gem::Version
|
58
|
+
hash: 7
|
57
59
|
segments:
|
58
60
|
- 3
|
59
61
|
- 0
|
60
62
|
- 0
|
61
63
|
version: 3.0.0
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
64
|
version_requirements: *id003
|
65
|
+
name: activesupport
|
66
|
+
prerelease: false
|
67
|
+
type: :runtime
|
65
68
|
- !ruby/object:Gem::Dependency
|
66
|
-
name: shoulda
|
67
69
|
requirement: &id004 !ruby/object:Gem::Requirement
|
68
70
|
none: false
|
69
71
|
requirements:
|
70
72
|
- - ">="
|
71
73
|
- !ruby/object:Gem::Version
|
74
|
+
hash: 3
|
72
75
|
segments:
|
73
76
|
- 0
|
74
77
|
version: "0"
|
75
|
-
type: :development
|
76
|
-
prerelease: false
|
77
78
|
version_requirements: *id004
|
79
|
+
name: shoulda
|
80
|
+
prerelease: false
|
81
|
+
type: :development
|
78
82
|
- !ruby/object:Gem::Dependency
|
79
|
-
name: bundler
|
80
83
|
requirement: &id005 !ruby/object:Gem::Requirement
|
81
84
|
none: false
|
82
85
|
requirements:
|
83
86
|
- - ~>
|
84
87
|
- !ruby/object:Gem::Version
|
88
|
+
hash: 23
|
85
89
|
segments:
|
86
90
|
- 1
|
87
91
|
- 0
|
88
92
|
- 0
|
89
93
|
version: 1.0.0
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
94
|
version_requirements: *id005
|
95
|
+
name: bundler
|
96
|
+
prerelease: false
|
97
|
+
type: :development
|
93
98
|
- !ruby/object:Gem::Dependency
|
94
|
-
name: jeweler
|
95
99
|
requirement: &id006 !ruby/object:Gem::Requirement
|
96
100
|
none: false
|
97
101
|
requirements:
|
98
102
|
- - ~>
|
99
103
|
- !ruby/object:Gem::Version
|
104
|
+
hash: 7
|
100
105
|
segments:
|
101
106
|
- 1
|
102
107
|
- 5
|
103
108
|
- 2
|
104
109
|
version: 1.5.2
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
110
|
version_requirements: *id006
|
111
|
+
name: jeweler
|
112
|
+
prerelease: false
|
113
|
+
type: :development
|
108
114
|
- !ruby/object:Gem::Dependency
|
109
|
-
name: rcov
|
110
115
|
requirement: &id007 !ruby/object:Gem::Requirement
|
111
116
|
none: false
|
112
117
|
requirements:
|
113
118
|
- - ">="
|
114
119
|
- !ruby/object:Gem::Version
|
120
|
+
hash: 3
|
115
121
|
segments:
|
116
122
|
- 0
|
117
123
|
version: "0"
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
124
|
version_requirements: *id007
|
125
|
+
name: rcov
|
126
|
+
prerelease: false
|
127
|
+
type: :development
|
121
128
|
- !ruby/object:Gem::Dependency
|
122
|
-
name: rspec
|
123
129
|
requirement: &id008 !ruby/object:Gem::Requirement
|
124
130
|
none: false
|
125
131
|
requirements:
|
126
132
|
- - ">="
|
127
133
|
- !ruby/object:Gem::Version
|
134
|
+
hash: 3
|
128
135
|
segments:
|
129
136
|
- 0
|
130
137
|
version: "0"
|
131
|
-
type: :development
|
132
|
-
prerelease: false
|
133
138
|
version_requirements: *id008
|
139
|
+
name: rspec
|
140
|
+
prerelease: false
|
141
|
+
type: :development
|
134
142
|
description: A Ruby gem for accessing the 3taps API. See more at http://developers.3taps.net
|
135
143
|
email: developers@3taps.com
|
136
144
|
executables: []
|
@@ -206,7 +214,6 @@ files:
|
|
206
214
|
- test/test_struct.rb
|
207
215
|
- test/test_threetaps-client.rb
|
208
216
|
- threetaps-client.gemspec
|
209
|
-
has_rdoc: true
|
210
217
|
homepage: https://github.com/3taps/3taps-Ruby-Client
|
211
218
|
licenses:
|
212
219
|
- MIT
|
@@ -220,7 +227,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
227
|
requirements:
|
221
228
|
- - ">="
|
222
229
|
- !ruby/object:Gem::Version
|
223
|
-
hash:
|
230
|
+
hash: 3
|
224
231
|
segments:
|
225
232
|
- 0
|
226
233
|
version: "0"
|
@@ -229,13 +236,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
236
|
requirements:
|
230
237
|
- - ">="
|
231
238
|
- !ruby/object:Gem::Version
|
239
|
+
hash: 3
|
232
240
|
segments:
|
233
241
|
- 0
|
234
242
|
version: "0"
|
235
243
|
requirements: []
|
236
244
|
|
237
245
|
rubyforge_project:
|
238
|
-
rubygems_version: 1.
|
246
|
+
rubygems_version: 1.7.2
|
239
247
|
signing_key:
|
240
248
|
specification_version: 3
|
241
249
|
summary: A Ruby gem for accessing the 3taps API
|