shellcast 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/shellcast/player.rb +1 -1
- data/lib/shellcast/publisher.rb +1 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/lib/shellcast/player.rb
CHANGED
data/lib/shellcast/publisher.rb
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
require 'oauth'
|
2
1
|
require 'net/http'
|
3
2
|
require 'uri'
|
4
3
|
|
5
4
|
module ShellCast
|
6
5
|
class Publisher
|
7
6
|
|
8
|
-
API_URL = 'http://shell.heroku.com'
|
7
|
+
API_URL = ENV['SC_LOCAL'] ? 'http://localhost:3000' : 'http://shell.heroku.com'
|
9
8
|
|
10
9
|
def publish(id)
|
11
10
|
uri = URI.parse(API_URL + '/records')
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 6
|
9
|
+
version: 0.0.6
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Antono Vasiljev
|
@@ -152,7 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
152
152
|
requirements:
|
153
153
|
- - ">="
|
154
154
|
- !ruby/object:Gem::Version
|
155
|
-
hash:
|
155
|
+
hash: 163170419
|
156
156
|
segments:
|
157
157
|
- 0
|
158
158
|
version: "0"
|