bookingsync 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bookingsync.rb +3 -0
- data/lib/bookingsync/public/availability.rb +6 -0
- data/lib/bookingsync/public/base.rb +7 -0
- data/lib/bookingsync/public/booking.rb +6 -0
- data/lib/bookingsync/version.rb +1 -1
- data/spec/bookingsync/public/availability_spec.rb +4 -0
- data/spec/bookingsync/public/booking_spec.rb +4 -0
- metadata +110 -32
data/lib/bookingsync.rb
CHANGED
@@ -6,6 +6,9 @@ require 'bookingsync/booking'
|
|
6
6
|
require 'bookingsync/client'
|
7
7
|
require 'bookingsync/rental'
|
8
8
|
require 'bookingsync/inquiry'
|
9
|
+
require 'bookingsync/public/base'
|
10
|
+
require 'bookingsync/public/availability'
|
11
|
+
require 'bookingsync/public/booking'
|
9
12
|
|
10
13
|
module BookingSync
|
11
14
|
end
|
data/lib/bookingsync/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookingsync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activeresource
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '3.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: rake
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
@@ -32,76 +37,127 @@ dependencies:
|
|
32
37
|
version: '0.9'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0.9'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: cucumber
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
|
-
- - =
|
51
|
+
- - '='
|
42
52
|
- !ruby/object:Gem::Version
|
43
53
|
version: 1.0.0
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.0
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: aruba
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
|
-
- - =
|
67
|
+
- - '='
|
53
68
|
- !ruby/object:Gem::Version
|
54
69
|
version: 0.4.2
|
55
70
|
type: :development
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - '='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.4.2
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: nokogiri
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
|
-
- - =
|
83
|
+
- - '='
|
64
84
|
- !ruby/object:Gem::Version
|
65
85
|
version: 1.4.4
|
66
86
|
type: :development
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - '='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.4.4
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: relish
|
71
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
72
97
|
none: false
|
73
98
|
requirements:
|
74
|
-
- - =
|
99
|
+
- - '='
|
75
100
|
- !ruby/object:Gem::Version
|
76
101
|
version: 0.4.0
|
77
102
|
type: :development
|
78
103
|
prerelease: false
|
79
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - '='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.4.0
|
80
110
|
- !ruby/object:Gem::Dependency
|
81
111
|
name: yard
|
82
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.7.2
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
121
|
none: false
|
84
122
|
requirements:
|
85
123
|
- - ~>
|
86
124
|
- !ruby/object:Gem::Version
|
87
125
|
version: 0.7.2
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: rspec
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 2.8.0
|
88
134
|
type: :development
|
89
135
|
prerelease: false
|
90
|
-
version_requirements:
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 2.8.0
|
91
142
|
- !ruby/object:Gem::Dependency
|
92
143
|
name: guard-rspec
|
93
|
-
requirement:
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
94
145
|
none: false
|
95
146
|
requirements:
|
96
|
-
- - =
|
147
|
+
- - '='
|
97
148
|
- !ruby/object:Gem::Version
|
98
149
|
version: 0.1.9
|
99
150
|
type: :development
|
100
151
|
prerelease: false
|
101
|
-
version_requirements:
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - '='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 0.1.9
|
102
158
|
- !ruby/object:Gem::Dependency
|
103
159
|
name: guard-cucumber
|
104
|
-
requirement:
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
105
161
|
none: false
|
106
162
|
requirements:
|
107
163
|
- - ~>
|
@@ -109,21 +165,31 @@ dependencies:
|
|
109
165
|
version: 0.5.1
|
110
166
|
type: :development
|
111
167
|
prerelease: false
|
112
|
-
version_requirements:
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ~>
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.5.1
|
113
174
|
- !ruby/object:Gem::Dependency
|
114
175
|
name: growl
|
115
|
-
requirement:
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
116
177
|
none: false
|
117
178
|
requirements:
|
118
|
-
- - =
|
179
|
+
- - '='
|
119
180
|
- !ruby/object:Gem::Version
|
120
181
|
version: 1.0.3
|
121
182
|
type: :development
|
122
183
|
prerelease: false
|
123
|
-
version_requirements:
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - '='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: 1.0.3
|
124
190
|
- !ruby/object:Gem::Dependency
|
125
191
|
name: appraisal
|
126
|
-
requirement:
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
127
193
|
none: false
|
128
194
|
requirements:
|
129
195
|
- - ~>
|
@@ -131,7 +197,12 @@ dependencies:
|
|
131
197
|
version: 0.3.8
|
132
198
|
type: :development
|
133
199
|
prerelease: false
|
134
|
-
version_requirements:
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ~>
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: 0.3.8
|
135
206
|
description: ! " Ruby wrapper around BookingSync API\n\n Configure by adding the
|
136
207
|
following:\n\n require 'bookingsync'\n BookingSync::Base.user = 'your_api_auth_token'\n"
|
137
208
|
email: public@zencocoon.com
|
@@ -146,6 +217,9 @@ files:
|
|
146
217
|
- lib/bookingsync/client.rb
|
147
218
|
- lib/bookingsync/inquiry.rb
|
148
219
|
- lib/bookingsync/pagination.rb
|
220
|
+
- lib/bookingsync/public/availability.rb
|
221
|
+
- lib/bookingsync/public/base.rb
|
222
|
+
- lib/bookingsync/public/booking.rb
|
149
223
|
- lib/bookingsync/rental.rb
|
150
224
|
- lib/bookingsync/version.rb
|
151
225
|
- README.md
|
@@ -156,6 +230,8 @@ files:
|
|
156
230
|
- spec/bookingsync/inquiry_spec.rb
|
157
231
|
- spec/bookingsync/pagination_behavior.rb
|
158
232
|
- spec/bookingsync/pagination_spec.rb
|
233
|
+
- spec/bookingsync/public/availability_spec.rb
|
234
|
+
- spec/bookingsync/public/booking_spec.rb
|
159
235
|
- spec/bookingsync/rental_spec.rb
|
160
236
|
- spec/spec_helper.rb
|
161
237
|
homepage: http://github.com/BookingSync/bookingsync-ruby
|
@@ -179,10 +255,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
255
|
version: '0'
|
180
256
|
requirements: []
|
181
257
|
rubyforge_project:
|
182
|
-
rubygems_version: 1.8.
|
258
|
+
rubygems_version: 1.8.23
|
183
259
|
signing_key:
|
184
260
|
specification_version: 3
|
185
|
-
summary: Ruby wrapper around BookingSync API. Version 0.
|
261
|
+
summary: Ruby wrapper around BookingSync API. Version 0.3.0
|
186
262
|
test_files:
|
187
263
|
- features/support/env.rb
|
188
264
|
- spec/bookingsync/base_spec.rb
|
@@ -191,6 +267,8 @@ test_files:
|
|
191
267
|
- spec/bookingsync/inquiry_spec.rb
|
192
268
|
- spec/bookingsync/pagination_behavior.rb
|
193
269
|
- spec/bookingsync/pagination_spec.rb
|
270
|
+
- spec/bookingsync/public/availability_spec.rb
|
271
|
+
- spec/bookingsync/public/booking_spec.rb
|
194
272
|
- spec/bookingsync/rental_spec.rb
|
195
273
|
- spec/spec_helper.rb
|
196
274
|
has_rdoc:
|