assonnato 0.6.2 → 0.7

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: ede4e10695a772234702bd662ef229c962d4155b
4
- data.tar.gz: 0ac6f6d1bf318f27a11a0d6389f9342465506454
3
+ metadata.gz: fb7af04b0977c4df4607a2e61a00e3b1ea4d19d5
4
+ data.tar.gz: bc4c445fc893849d427859879716add9ae3ebaca
5
5
  SHA512:
6
- metadata.gz: cb0ec42d25da3e52c861a3407ceb69343e4f2c54ee91afe4311f13e10b1a40a86c1178218b79dc5164d6cea68d2da9ae699388772d84d41c04e748650f414c60
7
- data.tar.gz: 7a0f45d61725ed74cf254b44e100cfa1bb0695213a2dc2a2d97d7e003da13bd4142af30538672491da5c77fa70db7e17bd8a13443012fed4949021ff2827cfe8
6
+ metadata.gz: 573f854531ce12f59032cab343bf4553636b8ba2a362e6447221b41ff389cfd9f07065a04eae0bc9e14e2960d20e8530666922f9c6ed146a6162b0109b2c9c54
7
+ data.tar.gz: 44b56aae93a3cbc218943e15c0e348cbdbce5e323adca65b66a320711b96c61935e7be15c935b527d566ea0866e3d18a966bca2f86dfa1d6978132a4fa25583f
@@ -14,8 +14,8 @@ module Assonnato
14
14
  include Request
15
15
  include Parser
16
16
 
17
- def initialize(host, path = nil)
18
- @host = host
17
+ def initialize(host = nil, path = nil)
18
+ @host = host || 'http://pigro.omnivium.it'
19
19
  @path = path || '/api/v1'
20
20
  end
21
21
 
@@ -9,5 +9,5 @@
9
9
  #++
10
10
 
11
11
  module Assonnato
12
- VERSION = '0.6.2'
12
+ VERSION = '0.7'
13
13
  end
data/spec/episode_spec.rb CHANGED
@@ -3,7 +3,7 @@ require 'assonnato'
3
3
 
4
4
  describe 'Assonnato' do
5
5
  before do
6
- @episode = Assonnato::Episode.new 'http://pigro.omnivium.it:4567'
6
+ @episode = Assonnato::Episode.new 'http://pigro.omnivium.it'
7
7
  end
8
8
 
9
9
  it 'returns all the episodes of the given show' do
data/spec/show_spec.rb CHANGED
@@ -3,7 +3,7 @@ require 'assonnato'
3
3
 
4
4
  describe 'Assonnato' do
5
5
  before do
6
- @show = Assonnato::Show.new 'http://pigro.omnivium.it:4567'
6
+ @show = Assonnato::Show.new
7
7
  end
8
8
 
9
9
  it 'returns all the ongoing shows' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assonnato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: '0.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Capuano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-12 00:00:00.000000000 Z
11
+ date: 2014-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json