echor 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of echor might be problematic. Click here for more details.

Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/echor.gemspec +1 -1
  3. data/lib/echor/backplane.rb +2 -2
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{echor}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Pedro Del Gallego}]
@@ -6,7 +6,7 @@ module Echo
6
6
  def initialize(channel, options={})
7
7
  self.class.debug_output $stdout if Echo.debug
8
8
  self.class.base_uri "http://api.echoenabled.com/v1/"
9
- self.class.basic_auth Echo.user, Echo.password
9
+ self.class.basic_auth Echo.backplane_user, Echo.backplane_password
10
10
 
11
11
  @channel = channel
12
12
  end
@@ -43,7 +43,7 @@ module Echo
43
43
 
44
44
  private
45
45
  def perform_request(data)
46
- JSON.parse(`curl -u #{Echo.user}:#{Echo.password} --data-binary '#{data}' #{@channel}`)
46
+ JSON.parse(`curl -u #{Echo.backplane_user}:#{Echo.backplane_password} --data-binary '#{data}' #{@channel}`)
47
47
  end
48
48
 
49
49
  # Create the json structure that Echo will consume.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: echor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pedro Del Gallego