fluffy-ruby 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fluffy/session.rb +4 -0
- data/lib/fluffy/session/{rollback_checks.rb → checks.rb} +2 -2
- data/lib/fluffy/version.rb +1 -1
- 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: 9a1545463f802659f5b78804230a7475a11bed60
|
4
|
+
data.tar.gz: 6f3fec24358c74aeeba179833682a211bd8890ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05cf411f92fae5b53e8cd3df2b629c073849b874dc161268adc24e5be21f55bf364af306abd4f58e9f6ead65665cdf5a9175fc61f5ce15e16e79a8743d4c0445
|
7
|
+
data.tar.gz: 1c036d7195d3e9f6b61dc72eb1677ba78eff43dc1ed367de4cb8bf2aaffafce52c2c27e3bc6caac1441e009aff9880933ee1476bee10ea0f95649a3e3a1202d5
|
data/lib/fluffy/session.rb
CHANGED
@@ -3,6 +3,7 @@ require_relative 'session/services'
|
|
3
3
|
require_relative 'session/rules'
|
4
4
|
require_relative 'session/interfaces'
|
5
5
|
require_relative 'session/chains'
|
6
|
+
require_relative 'session/checks'
|
6
7
|
|
7
8
|
module Fluffy
|
8
9
|
class Session
|
@@ -18,6 +19,8 @@ module Fluffy
|
|
18
19
|
attr_reader :interfaces
|
19
20
|
# @return [Fluffy::Session::Chains] The session chains
|
20
21
|
attr_reader :chains
|
22
|
+
# @return [Fluffy::Session::Checks] The session rollback checks
|
23
|
+
attr_reader :checks
|
21
24
|
# @return [String] The session endpoint
|
22
25
|
attr_reader :endpoint
|
23
26
|
|
@@ -38,6 +41,7 @@ module Fluffy
|
|
38
41
|
@rules = Rules.new(endpoint: @endpoint)
|
39
42
|
@interfaces = Interfaces.new(endpoint: @endpoint)
|
40
43
|
@chains = Chains.new(endpoint: @endpoint)
|
44
|
+
@checks = Checks.new(endpoint: @endpoint)
|
41
45
|
end
|
42
46
|
|
43
47
|
# Test the session configuration
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Fluffy
|
2
2
|
class Session
|
3
|
-
class
|
3
|
+
class Checks
|
4
4
|
include Fluffy::API
|
5
5
|
|
6
6
|
# @return [String] The session endpoint
|
@@ -11,7 +11,7 @@ module Fluffy
|
|
11
11
|
# @param endpoint [String] API session endpoint
|
12
12
|
#
|
13
13
|
def initialize(endpoint:)
|
14
|
-
@endpoint = endpoint + ['
|
14
|
+
@endpoint = endpoint + ['checks']
|
15
15
|
end
|
16
16
|
|
17
17
|
# Retrieve the session rollback checks
|
data/lib/fluffy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluffy-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matteo Cerutti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -52,8 +52,8 @@ files:
|
|
52
52
|
- lib/fluffy/session.rb
|
53
53
|
- lib/fluffy/session/addressbook.rb
|
54
54
|
- lib/fluffy/session/chains.rb
|
55
|
+
- lib/fluffy/session/checks.rb
|
55
56
|
- lib/fluffy/session/interfaces.rb
|
56
|
-
- lib/fluffy/session/rollback_checks.rb
|
57
57
|
- lib/fluffy/session/rules.rb
|
58
58
|
- lib/fluffy/session/services.rb
|
59
59
|
- lib/fluffy/sessions.rb
|