sesame-ruby 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/sesame/api.rb +2 -2
- data/lib/sesame/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: 081f92b213e23a8c277f645f5e12c36cf8cfad72
|
4
|
+
data.tar.gz: f2ef6fa38cfcb145621ca1fd872d55764ab31223
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b634285cb4210d1b201e5d71feb158e69a2e4522f1db9c42c06ef5fc354b7895fbc3d1e154deeb8309d470cd0020a2bd828cb82b1a21f73cba99350b262d7c8
|
7
|
+
data.tar.gz: 6c861edb1b86e1dcff6eec9a4d196a7356a67e2a5ea1de989d23dd739403e0481a52275e8078683564a566912285e6ad4e83580f901dfd90c40446dbadd977e1
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![Gem Version](https://badge.fury.io/rb/sesame-ruby.
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/sesame-ruby.svg)](https://badge.fury.io/rb/sesame-ruby)
|
2
2
|
[![Build Status](https://travis-ci.org/mbklein/sesame-ruby.svg?branch=master)](https://travis-ci.org/mbklein/sesame-ruby)
|
3
3
|
[![Coverage Status](https://coveralls.io/repos/mbklein/sesame-ruby/badge.svg?branch=master&service=github)](https://coveralls.io/github/mbklein/sesame-ruby?branch=master)
|
4
4
|
|
data/lib/sesame/api.rb
CHANGED
@@ -28,11 +28,11 @@ module Sesame
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def get_sesame(device_id:)
|
31
|
-
get("
|
31
|
+
get("sesames/#{device_id}")
|
32
32
|
end
|
33
33
|
|
34
34
|
def control_sesame(device_id:, type:)
|
35
|
-
post("
|
35
|
+
post("sesames/#{device_id}/control", type: type)
|
36
36
|
end
|
37
37
|
|
38
38
|
def get(path)
|
data/lib/sesame/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sesame-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael B. Klein
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|