earthquake 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/earthquake.rb +1 -0
- data/lib/earthquake/commands.rb +1 -1
- data/lib/earthquake/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 561af4d3aff9cdf120fcea2b92fd0527119e0a93
|
4
|
+
data.tar.gz: 0e2656c0ebb354e0dff33f598338c7cc00734fad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb7fb39f7ff2dae1cd0e5e055f163dd4b8f9cba26b9a9b346b200199b2d5a1e9bb4c97d44dd3e2e3ee0af22a87a84b74a6609112882951ded37bb91740087849
|
7
|
+
data.tar.gz: 8e14d67453f71ef90633a3692df43183b8c2bc3d943d50bcd75f720b1f9a9407e2ec2b2044005d4acf013d5a4b83a67b5f102dc741454559e4e8d0499d7ea06d
|
data/lib/earthquake.rb
CHANGED
data/lib/earthquake/commands.rb
CHANGED
@@ -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|/(\
|
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']
|
data/lib/earthquake/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter-stream
|