pusher-hackathon 0.1.2 → 0.1.3

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: 599d72e505a7df27ea5e727fcc0b0b3faabbff36
4
- data.tar.gz: 6999ef849424eeb25e92f27911d2f1f5585c3299
3
+ metadata.gz: 10761fbb9517c989f32aece8a0fb967d48648806
4
+ data.tar.gz: ab866a9b95ed65eb2e98db1c4c065b3db91ff74e
5
5
  SHA512:
6
- metadata.gz: 07b6ba02b841dc8513fd648e699fd4e4aa487b7d09a92242b14e10a0b9db62e73654d52eb0b5ff0d0b05dd811efd8b3a0c0aea4989cfd86ca79b1771db73c5d4
7
- data.tar.gz: f702eca43a82266f3b595aa62054d80acb091694862ddb1773947eb017d77586427d2edafd7862101c77a50128481d8503a949ece7b80403ea37ef43d2d60c15
6
+ metadata.gz: 1cd834dff34ada5cf73c3d4942b23ec948649c9fe04f1e4a12ccc4357374c4f0e520690b01f0476db3d1048b30fd440e7e30b39b7c5bf22b7df45ed9670bbd3a
7
+ data.tar.gz: d130c4d6bd4a31411982a8414c9e42feeeb5af903ddb942ed2239bdc7003afb5d7f04e4f5c93673a9a3e6ecfa6a04ae401d5235efdceb63e4afc9056cf83ff8b
data/README.md CHANGED
@@ -12,7 +12,7 @@ Setting up a server that authenticates private- and presence-channels for hackat
12
12
  --secret your_app_secret \
13
13
  --key your_app_key
14
14
 
15
- This will open up a Heroku dashboard. Click OK and in 20 seconds you'll have your own authentication app.
15
+ This will open up a Heroku dashboard. Click "Deploy for free" and in 20 seconds you'll have your own authentication app.
16
16
 
17
17
  Boom, job done! Now get hacking!
18
18
 
data/bin/pusher-hackathon CHANGED
@@ -27,7 +27,7 @@ command :run do |c|
27
27
  unless options.url || (options.key && options.secret && options.id)
28
28
  puts "Type: `pusher-hackathon run --id your_app_id --key your_app_key --secret your_app_secret`"
29
29
  else
30
- Pusher.url = options.url || "https://#{options.key}:#{options.secret}@api.pusherapp.com/apps/#{options.app_id}"
30
+ Pusher.url = options.url || "https://#{options.key}:#{options.secret}@api.pusherapp.com/apps/#{options.id}"
31
31
  port = (options.port) ? options.port.to_i : 9090
32
32
  PusherHackathon::AuthApp.set :port, port
33
33
  PusherHackathon::AuthApp.run!
@@ -48,7 +48,7 @@ command :deploy do |c|
48
48
  puts "Type: `pusher-hackathon deploy --id your_app_id --key your_app_key --secret your_app_secret`"
49
49
  else
50
50
  require 'uri'
51
- url = options.url || "https://#{options.key}:#{options.secret}@api.pusherapp.com/apps/#{options.app_id}"
51
+ url = options.url || "https://#{options.key}:#{options.secret}@api.pusherapp.com/apps/#{options.id}"
52
52
  url = URI.encode(url, /\W/)
53
53
  `open 'https://heroku.com/deploy?template=https://github.com/jpatel531/pusher-auth&env[PUSHER_URL]=#{url}'`
54
54
  end
@@ -1,3 +1,3 @@
1
1
  module PusherHackathon
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Patel