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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 685ce90ec5e58b64ba6dc214000b846f2bb93932
4
- data.tar.gz: e76896111e5bcd7a11f8235e728e10765a9bfe30
3
+ metadata.gz: 6145ba3bc310006ca6980f1f3c0ff4f353f1f474
4
+ data.tar.gz: c48efe0cb7f8c9c98c765cc7df5d443948424095
5
5
  SHA512:
6
- metadata.gz: 9c8afaad59c0d7232ed0fa7251c7d5085499f1df62e9762bce288452b20bf38074103139ba860b4545f4f447186df1df940a20f6b678f5830e279c4c6a8056a8
7
- data.tar.gz: 6e1422b81c2fa2a7a398fd9f048dca72e92e378ca7b8e4512e237e4f51772cc43ac6cfbdc32f1a646c3d49732277b30a20683dad6e4b9361c390e1bcfdd7c924
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}"
@@ -1,3 +1,3 @@
1
1
  module PusherHackathon
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pusher-hackathon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Patel