whatcd 0.2.0 → 0.2.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: cb8d083335ae85367be54b14155d42b7c29b9070
4
- data.tar.gz: c8fe42b6b6423b25ed7b77a4159a5c65265c198a
3
+ metadata.gz: 329fbcfece420a02aa0f4f4689b552d4d505fc96
4
+ data.tar.gz: 0df975acebdaa5589a2a67092494f1531ece66cc
5
5
  SHA512:
6
- metadata.gz: ecc1bb291168579a900a2b1c8babae840ea16b906094b125a149d714aa50b36745bf7dbd7c6db87ed925f650d37cce379cc1cf29e2599aac68928ac05ca70469
7
- data.tar.gz: 0d69c9c25b509d67ab326d29e298b6c4b0a13ee91530efd4acf5ebc669fbb4464af2f81da0ab107fa3cf52753f6aa84bb9bd889b75c1fe5292ae07bfc04c4251
6
+ metadata.gz: de436dd50315293bceeca31d2d8ff583bfabd1f25063e14ac0702077897db33b0743c76d092f54c95e0dd34e9fd537e6da7e023aad4abc242740c0511f49d3ad
7
+ data.tar.gz: 0f9e4155dd0c42a1e3dde10ce59e9ba75f87d99429dc1be21703acb8661feee8abfe10d59d5e61365b87d388346834c24ff55c818d6c09bba8a3868c87e95db0
@@ -70,7 +70,7 @@ class WhatCD
70
70
 
71
71
  res = connection.get "ajax.php", parameters.merge(:action => resource)
72
72
 
73
- if res.status == "302" && res["location"] == "login.php"
73
+ if res.status == 302 && res["location"] == "login.php"
74
74
  raise AuthError
75
75
  elsif !res.success?
76
76
  raise APIError, res.status
metadata CHANGED
@@ -1,36 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whatcd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Brickfeld
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDhTCCAm2gAwIBAgIBATANBgkq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05ISp0SODfCJzq21nKReppwVumyGBmyCOBz+uM27OXxc
30
- 336lVuJ9KEoETd0t0biCkWVE2illvjAj0HuCi4mSA5QRkr2FbWkgFQXiMAcaakcW
31
- xr2cJv1xwkNLUhdO3OoK0ix8tfsubY0PhA8xi8a016pr7xYJD+xUPiA=
32
- -----END CERTIFICATE-----
33
- date: 2014-01-27 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2015-06-27 00:00:00.000000000 Z
34
12
  dependencies:
35
13
  - !ruby/object:Gem::Dependency
36
14
  name: faraday
@@ -101,8 +79,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
79
  version: '0'
102
80
  requirements: []
103
81
  rubyforge_project:
104
- rubygems_version: 2.2.0
82
+ rubygems_version: 2.4.5
105
83
  signing_key:
106
84
  specification_version: 4
107
85
  summary: An API wrapper for What.cd's JSON API
108
86
  test_files: []
87
+ has_rdoc:
Binary file
data.tar.gz.sig DELETED
@@ -1,6 +0,0 @@
1
- nvs�@�>f�U۠C�=�W�I��m�
2
- ��g�`X�W,^Z"@�R+Yi�o��mw1}�|uw�A��l�̓n%��95>{�mC� ��6���+�����,�-g9�I��w�5�єL]ݴ��#����
3
- DJ�m �W��5���n&ô6Fҷp�����Ǟ� 
4
- �;u�(��{_��`��K���8�++� Ċ����_��+�Mt��&�`� 2ن[σ<ajމO>�Ǜ�
5
- 0z]v ���f&��]
6
-
metadata.gz.sig DELETED
@@ -1 +0,0 @@
1
- oA^�T������|��ߊ���J��f�㿗U�|�� ��KEbKMֶ`�0��tD[�i4����Y/����*�N��M9�O����=��ʁ� �U��`؂�v*Z}�sK�'�d��^A��%�{