pusher-hackathon 0.1.0 → 0.1.1
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 +4 -4
- data/bin/pusher-hackathon +1 -2
- data/lib/hackathon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6145ba3bc310006ca6980f1f3c0ff4f353f1f474
|
|
4
|
+
data.tar.gz: c48efe0cb7f8c9c98c765cc7df5d443948424095
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 769a8da7422a41875add139b0eeccae04353505d6ac9774a9f79d87a612fb2b36047b5c42d8593db997710ad6f60767ab893a88804b75219743bf683876aae99
|
|
7
|
+
data.tar.gz: d8a35db5b325de5af78b523724c6a5d94eec046231adad1345bbdf441d6afbfd7d3267642f6da41419941f588b57d89120d1b3f32c6164f3f4852ec7052092b4
|
data/bin/pusher-hackathon
CHANGED
|
@@ -18,8 +18,7 @@ command :run do |c|
|
|
|
18
18
|
c.option '--port STRING', String, '[optional] The port you wish to run the endpoint on'
|
|
19
19
|
c.option '--url STRING', String, 'Your Pusher URL'
|
|
20
20
|
c.action do |args, options|
|
|
21
|
-
|
|
22
|
-
if !(options.key && options.secret && options.id) || !options.url
|
|
21
|
+
unless options.url || (options.key && options.secret && options.id)
|
|
23
22
|
puts "Type: `pusher-hackathon run --id your_app_id --key your_app_key --secret your_app_secret`"
|
|
24
23
|
else
|
|
25
24
|
Pusher.url = options.url || "https://#{options.key}:#{options.secret}@api.pusherapp.com/apps/#{options.app_id}"
|
data/lib/hackathon/version.rb
CHANGED