fluffy-ruby 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14fa56bf8bc0463aed4e8a658e546077735036fb
4
- data.tar.gz: 328a263cf31034b3ef0c359fb05f7d7834f5e648
3
+ metadata.gz: 9a1545463f802659f5b78804230a7475a11bed60
4
+ data.tar.gz: 6f3fec24358c74aeeba179833682a211bd8890ec
5
5
  SHA512:
6
- metadata.gz: a1bb45b63c07d5ff1f2fa0ef18fc048b847c5e06ffb3954703f127db960e4073d93289797d23fae270b22b3fbd4e721737e2ee5ea054c0e837ff8ec6a4fb5902
7
- data.tar.gz: fe03d7cbf095ca7e446b35bdf64630f72ae5842886f030a35898079fab801490437290f21a56d7aa47807584168a4fe85c772a28fac79a75faffc63ece8bbb41
6
+ metadata.gz: 05cf411f92fae5b53e8cd3df2b629c073849b874dc161268adc24e5be21f55bf364af306abd4f58e9f6ead65665cdf5a9175fc61f5ce15e16e79a8743d4c0445
7
+ data.tar.gz: 1c036d7195d3e9f6b61dc72eb1677ba78eff43dc1ed367de4cb8bf2aaffafce52c2c27e3bc6caac1441e009aff9880933ee1476bee10ea0f95649a3e3a1202d5
@@ -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 Rollback_checks
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 + ['services']
14
+ @endpoint = endpoint + ['checks']
15
15
  end
16
16
 
17
17
  # Retrieve the session rollback checks
@@ -1,5 +1,5 @@
1
1
  module Fluffy
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
 
4
4
  def self.version
5
5
  VERSION
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.9
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-27 00:00:00.000000000 Z
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