bookingsync-engine 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bookingsync/engine/model.rb +2 -6
- data/lib/bookingsync/engine/version.rb +1 -1
- data/spec/dummy/log/development.log +19 -452
- data/spec/dummy/log/test.log +638 -6898
- data/spec/models/account_spec.rb +0 -12
- metadata +5 -7
- data/spec/dummy/db/test.sqlite3 +0 -0
data/spec/models/account_spec.rb
CHANGED
@@ -99,18 +99,6 @@ RSpec.describe Account, type: :model do
|
|
99
99
|
expect(token).to receive(:refresh!)
|
100
100
|
account.token
|
101
101
|
end
|
102
|
-
|
103
|
-
it "stores the refreshed token even with rollback" do
|
104
|
-
Account.transaction do
|
105
|
-
account.token
|
106
|
-
raise ActiveRecord::Rollback
|
107
|
-
end
|
108
|
-
|
109
|
-
account.reload
|
110
|
-
expect(account.oauth_access_token).to eq("refreshed_token")
|
111
|
-
expect(account.oauth_refresh_token).to eq("refreshed_refresh_token")
|
112
|
-
expect(account.oauth_expires_at).to eq(new_expires_at)
|
113
|
-
end
|
114
102
|
end
|
115
103
|
end
|
116
104
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookingsync-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastien Grosjean
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0.
|
48
|
+
version: 0.1.7
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.1.7
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: appraisal
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -197,7 +197,6 @@ files:
|
|
197
197
|
- spec/dummy/db/migrate/20140522110326_create_accounts.rb
|
198
198
|
- spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
|
199
199
|
- spec/dummy/db/schema.rb
|
200
|
-
- spec/dummy/db/test.sqlite3
|
201
200
|
- spec/dummy/log/development.log
|
202
201
|
- spec/dummy/log/test.log
|
203
202
|
- spec/dummy/public/404.html
|
@@ -229,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
228
|
version: '0'
|
230
229
|
requirements: []
|
231
230
|
rubyforge_project:
|
232
|
-
rubygems_version: 2.
|
231
|
+
rubygems_version: 2.5.1
|
233
232
|
signing_key:
|
234
233
|
specification_version: 4
|
235
234
|
summary: A Rails engine to simplify integration with BookingSync API
|
@@ -268,7 +267,6 @@ test_files:
|
|
268
267
|
- spec/dummy/db/migrate/20140522110326_create_accounts.rb
|
269
268
|
- spec/dummy/db/migrate/20140522110454_add_o_auth_fields_to_accounts.rb
|
270
269
|
- spec/dummy/db/schema.rb
|
271
|
-
- spec/dummy/db/test.sqlite3
|
272
270
|
- spec/dummy/log/development.log
|
273
271
|
- spec/dummy/log/test.log
|
274
272
|
- spec/dummy/public/404.html
|
data/spec/dummy/db/test.sqlite3
DELETED
File without changes
|