shellcast 0.0.5 → 0.0.6

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -65,7 +65,7 @@ module ShellCast
65
65
  end
66
66
 
67
67
  def scriptreplay_cmd
68
- "scriptreplay #{shellcast_file('timing')} #{shellcast_file('data')}"
68
+ "scriptreplay #{shellcast_file('timing')} #{shellcast_file('typescript')}"
69
69
  end
70
70
  end
71
71
  end
@@ -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
- - 5
9
- version: 0.0.5
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: 66117245
155
+ hash: 163170419
156
156
  segments:
157
157
  - 0
158
158
  version: "0"