ns-yapi 0.4.3 → 0.4.4

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: cea7f72750a0a8d079579025fcc8cbcd02084149
4
- data.tar.gz: 858eebcce69e1fac3d84fed99621e35038baaad0
3
+ metadata.gz: b3c731624d3a9fa44155af28d67c79e33d71edf0
4
+ data.tar.gz: 978ef46eebd4e5534d2accc04e00ba503d3f7e72
5
5
  SHA512:
6
- metadata.gz: 70447d1d9c34a7494c1c758bbb6fec97d5bc60ce5a69aadb7f9719005135863ef83b092a29715dacd797e82fbc229f40024cea2bb9f6287e272248e4e2cac402
7
- data.tar.gz: 6efd6d32c0c045dab8df034230ee80a0623422b8a499c1a63df928b653e1a90f54fc32ce600ac8623b59142edaa5040d5812f602c5b5e9a00503747b0ea8c2ea
6
+ metadata.gz: d3a42e0bf077b7339f6c1c90f406f510a9339635610f95d45177508d0605588c4886704fe8bb49382caf39fcdb2923f3b515b26d04fd498e519997f72ff28ba5
7
+ data.tar.gz: d67a634c048e109961929ba1368cddde850468c69f60e496c1fb4b3cb3ef9aa077785e39027d190c7d5be2195fb1e2ada0d6192491323e49178030300ed52c2e
@@ -1,3 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
3
+ - 1.9.3
4
+ - 2.2.2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ns-yapi (0.4.2)
4
+ ns-yapi (0.4.4)
5
5
  httpclient
6
6
  nokogiri
7
7
  nori
@@ -23,13 +23,13 @@ GEM
23
23
  httpclient (2.3.3)
24
24
  metaclass (0.0.1)
25
25
  mime-types (1.23)
26
- mini_portile (0.5.0)
26
+ mini_portile (0.6.2)
27
27
  mocha (0.14.0)
28
28
  metaclass (~> 0.0.1)
29
29
  multi_json (1.7.7)
30
- nokogiri (1.6.0)
31
- mini_portile (~> 0.5.0)
32
- nori (2.2.0)
30
+ nokogiri (1.6.6.2)
31
+ mini_portile (~> 0.6.0)
32
+ nori (2.4.0)
33
33
  rake (10.0.3)
34
34
  rest-client (1.6.7)
35
35
  mime-types (>= 1.16)
@@ -5,7 +5,7 @@ class PricesUrl
5
5
  @url = url
6
6
  end
7
7
 
8
- def url (opts = {date: nil, from: "", to: "", date: nil})
8
+ def url (opts = {date: nil, from: "", to: ""})
9
9
  opts[:date] = opts[:date].strftime("%d%m%Y") if opts[:date]
10
10
  uri = URI.escape(opts.collect{|k,v| "#{k}=#{v}"}.join('&'))
11
11
  "#{@url}?#{uri}"
@@ -13,4 +13,4 @@ class PricesUrl
13
13
 
14
14
  class InvalidURL < StandardError
15
15
  end
16
- end
16
+ end
data/ns.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "ns-yapi"
7
- gem.version = '0.4.3'
7
+ gem.version = '0.4.4'
8
8
  gem.authors = ["Stefan Hendriks", "Derek Kraan", "Bob Forma"]
9
9
  gem.email = ["stefanhen83@gmail.com"]
10
10
  gem.description = %q{Yet Another (Ruby) NS API client}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ns-yapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Hendriks
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-01-26 00:00:00.000000000 Z
13
+ date: 2015-05-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httpclient