shin 1.0.0 → 1.0.1

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: 9c016c0787c6b653275ff7617bc9c91e1fe63bbc
4
- data.tar.gz: f2a6b501aa0e7db1dd6e03b2f42fa5d46b82b8d0
3
+ metadata.gz: d9d27e5a6711e608d57912c68783183167d6424d
4
+ data.tar.gz: d0b2adb079e4842dff7d81d2787d06ff06964060
5
5
  SHA512:
6
- metadata.gz: d6e61a9e6bae07ae46fdda9192500ad2092ab24643eaa51656417a86c61b6e1ca1bafcc2edd19753d88059fde25a72ecb6e88d1dbe170b5cc26ef7e60b086a97
7
- data.tar.gz: 2f15aa1623a2f07946e890de499ae577ead857c431d309ec0ca2215b68d8bff0832b3f8e645b4d333fb0b324fb75ee90d6c2cc3013f81117827ff54bd193c4e0
6
+ metadata.gz: 58ee596d5d36233940f8da01eed7629e4ea038b21577c84e25689680b16bd92cf736ada444766a697eba9959c4634ed6475bebf25964580469c653056f65eea3
7
+ data.tar.gz: e9c7188d3ee63df8cc8dbe3b354d9ae9be74486169750f46b2e47fc78a9db1c13d1a98297a234809e683df8f1eb582c3973b1939289903f71ded510ad20df073
@@ -13,7 +13,7 @@ module Shin
13
13
  end
14
14
 
15
15
  def find(h = {})
16
- raise MissingArgument, "You are missing the argument 'imdb' or 'kritiker_token' which is required to use this source." unless h[:imdb] != "" and Shin.get[:kritiker_token] == ""
16
+ raise MissingArgument, "You are missing the argument 'imdb' or 'kritiker_token' which is required to use this source." unless h[:imdb] != "" and Shin.get[:kritiker_token] != ""
17
17
 
18
18
  # We got the needed things
19
19
  response = Base.get('http://api.kritiker.se/film/?imdb='+h[:imdb]+'&token='+Shin.get[:kritiker_token])
@@ -30,4 +30,4 @@ module Shin
30
30
  class HTTPError < StandardError; end
31
31
  end
32
32
  end
33
- end
33
+ end
data/lib/shin/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Shin
2
- VERSION = "1.0.0"
3
- end
2
+ VERSION = "1.0.1"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Nylen
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.2.2
140
+ rubygems_version: 2.4.5
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: Shin provides a way to fetch data from various places.