fluffy-ruby 0.0.4 → 0.0.5
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 +6 -0
- data/lib/fluffy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 687e5ee3c9710eda658c9f93e1bb3281451d89ee
|
4
|
+
data.tar.gz: 94decec44016a2c3d51065cdbd6952c1d7a800ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee007e7df84d3c8fdda384535a7a753eadbdeb3fcfa603155f41ab6f938361593500ad81f9ac33d1d80f27b7fb0f620034d4617431a2fd138d242b8f0e30cc5e
|
7
|
+
data.tar.gz: 0445ee6ac7e4402ae3b15cd231272668fb1f1eaabdc5efb1d5513d43ab07b13f752a317b0ae77d242d3028c30deaf1af1abf7caa0480471dcdb4f7ed97735dff
|
data/lib/fluffy/session.rb
CHANGED
@@ -40,6 +40,12 @@ module Fluffy
|
|
40
40
|
@chains = Chains.new(endpoint: @endpoint)
|
41
41
|
end
|
42
42
|
|
43
|
+
# Test the session configuration
|
44
|
+
#
|
45
|
+
def test!
|
46
|
+
@@api.post(endpoint: self.endpoint + ['test'])
|
47
|
+
end
|
48
|
+
|
43
49
|
# Commit the session configuration
|
44
50
|
#
|
45
51
|
# @param rollback [Boolean] Enable rollback `defaults to false`
|
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.5
|
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-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|