dagger 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9acd73b4c13d3fbc7d86edc5872e30c64f290c02
4
- data.tar.gz: 8ea4011792e0b7b2bd44d5184641c86c6db436df
3
+ metadata.gz: 7001f9f21c0adb0ff7d27a307bd28934229c4dc9
4
+ data.tar.gz: 4a51b1dacd01ddad0570f93e3255fa28dcccea0c
5
5
  SHA512:
6
- metadata.gz: 6be7e1806544f1f0212cf64e39614324fbb67f027a3e189ac80292c593ace1adde58ea87f33e80b6fb3b8e4f246cf1556ed69afa39c0a4c8007fb77aff82e07e
7
- data.tar.gz: c8d34bf201a266fe07d00f0799b8da950aec0589672aa60d3908a129cd0c733db9cae9aad8cd7604b77c3ca30b5f8182ed2cb251429c88f97319d5e149627803
6
+ metadata.gz: f95c6b8ca528061ba9ce150457d9d60808965f65f67b704e759e964b8c98df789df48fdb9e272fd2ebc52d42b023538566804e6296a95fa26ce0f6787d4f0c3e
7
+ data.tar.gz: d266954e4321d11af50608ad8bb055ed030d4e17d60667b6ebfbd2f291e8f8af483a62fd4260849e174ac00e4119df7f7d4f3e3c2d423404c9a81e1b732aeb31
@@ -1,4 +1,3 @@
1
- # Dagger.
2
1
  require 'dagger/version'
3
2
  require 'dagger/response'
4
3
  require 'dagger/parsers'
@@ -160,7 +159,7 @@ module Dagger
160
159
 
161
160
  def open(uri, opts = {}, &block)
162
161
  client = Client.init(uri, opts)
163
- client.start(&block) if block_given?
162
+ client.open(&block) if block_given?
164
163
  client
165
164
  end
166
165
 
@@ -1,6 +1,6 @@
1
1
  module Dagger
2
2
  MAJOR = 0
3
- MINOR = 7
3
+ MINOR = 8
4
4
  PATCH = 0
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].join('.')
@@ -8,8 +8,7 @@ describe 'Persistent mode' do
8
8
  it 'works' do
9
9
  fake_client = double('Client')
10
10
  expect(Dagger::Client).to receive(:new).once.and_return(fake_client)
11
- # expect(fake_client).to receive(:get).twice #.and_return(fake_resp)
12
- expect(fake_client).to receive(:start).once #.and_return(fake_resp)
11
+ expect(fake_client).to receive(:open).once #.and_return(fake_resp)
13
12
 
14
13
  obj = Dagger.open('https://www.google.com') do
15
14
  get('/search?q=dagger+http+client')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás Pollak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-02 00:00:00.000000000 Z
11
+ date: 2017-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler