seriline 0.1.0 → 0.1.1

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: c594d722c243050ad034e3637907fdb19a17bceb
4
- data.tar.gz: 2f08a08f3360645eac5ae52c82544b1526938d89
3
+ metadata.gz: 04ed1366ab373246a8650cbf02152aadcff943b6
4
+ data.tar.gz: d3c7615dcc5574639e2e7013424ef2e424adca16
5
5
  SHA512:
6
- metadata.gz: db3d664d2b0652f33e3af16d68d4bfd9c86c74a3cf36e1e05fbfcfa2ee3f2ac80453101b84d2439ce1799852a9acdb31428c8ae72c94d27da5858415c94487a1
7
- data.tar.gz: 880e4fd68f94023a0090613c345e2724da8885ca643287104745363ccf5dd3ccff427b4a455c07fd79b5b60bcd42b7b2fa6c155ea7cb10b8509f547447bd2dcc
6
+ metadata.gz: c55536e6d98ec976e197cc4c63aed92c055cff5ea096f15a3b27f196bd08293d138ae3c8a973d6f2af640b590d341e6a1a230616f126e5daa122fa6eb46239f5
7
+ data.tar.gz: 5a6bdef78c9831fe846cd9fc7ecae20375a5ab9070a730cd1fe52b120f5ef3b6f355dc4529350d648935a8dceaa2d428108395d89efa1e6ae7d2fa4b3f5e7d8c
@@ -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) { yield }
18
+ self.client_connection(client, &block)
19
19
  end
20
20
 
21
21
  def self.client_connection(client)
@@ -1,3 +1,3 @@
1
1
  module Seriline
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-01-29 00:00:00.000000000 Z
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.4.5.1
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