neura-client 0.0.1 → 0.0.2

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.
@@ -5,7 +5,7 @@ require "neura-client/device"
5
5
 
6
6
  module Neura
7
7
  module Client
8
- HOST="http://neura.dev"
8
+ HOST="http://pulsa.theneura.com"
9
9
 
10
10
  class << self
11
11
  def authenticator
@@ -12,7 +12,7 @@ module Neura
12
12
  end
13
13
 
14
14
  def fire_event(event = {})
15
- HTTParty.post("#{Neura::Client::HOST}/external_api/v1/nodes/#{@id}/event", body: {event: attributes}, headers: Neura::Client.headers)
15
+ HTTParty.post("#{Neura::Client::HOST}/external_api/v1/nodes/#{@id}/event", body: {event: event}, headers: Neura::Client.headers)
16
16
  end
17
17
 
18
18
  def get_pending_actions
@@ -1,5 +1,5 @@
1
1
  module Neura
2
2
  module Client
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -16,5 +16,5 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
- gem.add_dependency "httparty", "~> 0.8.3"
19
+ gem.add_dependency "httparty"
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neura-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,23 +9,23 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-13 00:00:00.000000000 Z
12
+ date: 2013-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
16
  prerelease: false
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.8.3
21
+ version: '0'
22
22
  none: false
23
23
  type: :runtime
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - ! '>='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.8.3
28
+ version: '0'
29
29
  none: false
30
30
  description: Neura client is a ruby client for the neura's custom device api
31
31
  email: