seriline 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/seriline/client.rb +2 -2
- data/lib/seriline/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: 04ed1366ab373246a8650cbf02152aadcff943b6
|
4
|
+
data.tar.gz: d3c7615dcc5574639e2e7013424ef2e424adca16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c55536e6d98ec976e197cc4c63aed92c055cff5ea096f15a3b27f196bd08293d138ae3c8a973d6f2af640b590d341e6a1a230616f126e5daa122fa6eb46239f5
|
7
|
+
data.tar.gz: 5a6bdef78c9831fe846cd9fc7ecae20375a5ab9070a730cd1fe52b120f5ef3b6f355dc4529350d648935a8dceaa2d428108395d89efa1e6ae7d2fa4b3f5e7d8c
|
data/lib/seriline/client.rb
CHANGED
@@ -13,9 +13,9 @@ module Seriline
|
|
13
13
|
@session = Seriline::Session.new
|
14
14
|
end
|
15
15
|
|
16
|
-
def self.with_connection(username = Seriline.config.username, api_key = Seriline.config.api_key)
|
16
|
+
def self.with_connection(username = Seriline.config.username, api_key = Seriline.config.api_key, &block)
|
17
17
|
client = Seriline::Client.new(username, api_key)
|
18
|
-
self.client_connection(client)
|
18
|
+
self.client_connection(client, &block)
|
19
19
|
end
|
20
20
|
|
21
21
|
def self.client_connection(client)
|
data/lib/seriline/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seriline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emric
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
121
|
rubyforge_project:
|
122
|
-
rubygems_version: 2.
|
122
|
+
rubygems_version: 2.5.2
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: A gem for integrating with the Serline API
|