quandl_client 2.4.2 → 2.4.3

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: d222b6568a424c6165fe84f631fb6909017c50fa
4
- data.tar.gz: 98601a107de7563ced984f4cef9535c8eb236846
3
+ metadata.gz: fc1ad111e19d5822e06a770af9f3e8c7757589f4
4
+ data.tar.gz: 877391451126f592f8cd3832a1a4f01de0314dbd
5
5
  SHA512:
6
- metadata.gz: 94625b5c6c237732457a5ddeb9de0c1d1eab3c5c849c1ffc70d4a11cea3ad842ca6495387f4ad564e5ee6dc5993f6ef2bfbfa54042c0fdfae744e4036e137c70
7
- data.tar.gz: 58fb42c03d9ce26b0e7df4064c60f95932697fd89a482c8267d36279def0ea00ee4336e17a0b06e117188456fcad79215e2275d5e6918ab7466bb73938c9e115
6
+ metadata.gz: 5915a626546c4027f5c4b1870ac1d373318b11a943469556b9146860670340b3bf6a263e4ce89c8736c056b5094533f77a1fb63e4acc1936592b84f0c5ec2025
7
+ data.tar.gz: cde93b2f4d0c808c1fbef7932de8d25f6cc5cb65e139b788a801da6eeb7140b7e69e6615efe9f05e6ca203bb4796ecb4256ac67144f1a04a488526cb682124b2
data/UPGRADE.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 2.4.3
2
+
3
+ * hotfix for full_code pattern matching ... code can be as short as two characters
4
+
5
+
1
6
  # 2.4.2
2
7
 
3
8
  * Dataset.find will return nil unless the id is an integer, or matches the quandl pattern for full_code
@@ -1,6 +1,6 @@
1
1
  module Quandl
2
2
  module Client
3
- VERSION = '2.4.2'
3
+ VERSION = '2.4.3'
4
4
  API_VERSION = 'v2'
5
5
 
6
6
  class << self
@@ -2,7 +2,7 @@ module Quandl
2
2
  class Pattern
3
3
 
4
4
  define_pattern :dataset_date, /[0-9]{4}\-[0-9]{2}\-[0-9]{2}/, example: "yyyy-mm-dd"
5
- define_pattern :code, /[A-Z0-9_]{3,}+/, example: 'ALPHA_NUMERIC_1024'
5
+ define_pattern :code, /[A-Z0-9_]{2,}+/, example: 'ALPHA_NUMERIC_1024'
6
6
  define_pattern :full_code, /(#{code}\/)?(#{code})/, example: "(SOURCE_CODE/)#{code.to_example}"
7
7
 
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Hilscher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-23 00:00:00.000000000 Z
11
+ date: 2014-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake