earthquake 1.0.1 → 1.0.2

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: a7ffafd0d3ca9cb9323cfbc64cc3f34a271db5c8
4
- data.tar.gz: 95e27275fee012094eeb664e751e1c9cce368977
3
+ metadata.gz: 561af4d3aff9cdf120fcea2b92fd0527119e0a93
4
+ data.tar.gz: 0e2656c0ebb354e0dff33f598338c7cc00734fad
5
5
  SHA512:
6
- metadata.gz: 60e816f16be331db21e33fbaef14d571be5c646bc025b10b65277ae6a5e759dc5b94a391ecce32047a7a60eb63157e75cf349231cda8de8dc1eac2571e820e6a
7
- data.tar.gz: f64d7910095ee485bb614103005c265953c8cef438235ec0e9241e41b57044542d566f85cbaa29ef29ade9bdc4e309f557362f008fae444a80a58c83fde0398f
6
+ metadata.gz: cb7fb39f7ff2dae1cd0e5e055f163dd4b8f9cba26b9a9b346b200199b2d5a1e9bb4c97d44dd3e2e3ee0af22a87a84b74a6609112882951ded37bb91740087849
7
+ data.tar.gz: 8e14d67453f71ef90633a3692df43183b8c2bc3d943d50bcd75f720b1f9a9407e2ec2b2044005d4acf013d5a4b83a67b5f102dc741454559e4e8d0499d7ea06d
@@ -3,6 +3,7 @@
3
3
  thread
4
4
  readline
5
5
  date
6
+ active_support/dependencies/autoload
6
7
  active_support/core_ext
7
8
  active_support/dependencies
8
9
  active_support/cache
@@ -480,7 +480,7 @@ Earthquake.init do
480
480
  puts "the host must be gist.github.com".c(41)
481
481
  else
482
482
  puts "..."
483
- gist_id = uri.path[%r|/(\d+)/?$|,1]
483
+ gist_id = uri.path[%r|/([\da-z]+)/?$|,1]
484
484
  meta = JSON.parse(open("https://api.github.com/gists/#{gist_id}").read)
485
485
  filename = meta["files"].keys[0]
486
486
  raw = meta['files'][filename]['content']
@@ -1,3 +1,3 @@
1
1
  module Earthquake
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: earthquake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - jugyo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-06 00:00:00.000000000 Z
11
+ date: 2014-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: twitter-stream