also_energy 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17c8da36fa44c009622cf7d51470a391f574d00e
4
- data.tar.gz: cb1ef38f598ecdb8a099ba8fc0f582d2dadc0f65
3
+ metadata.gz: 2022b52d7506099dd01ab88e81cf317b567fd405
4
+ data.tar.gz: 99625e1f5e32cacc782e81affa8193e03ed6b1fc
5
5
  SHA512:
6
- metadata.gz: 3fca69bb62405d8eadad3bc4f2e1fd6b25c84c8a52800fe803d5d6cae6e13c5acebe13844ba41cc26738c1c894120114a0bb4ca6b9fef0773feaf76a4c40a36d
7
- data.tar.gz: 10cf0d0f9695d81498c14494ff745147316b3a7f95f56b65e9ebd12c22e7b720bc439fa7f76a9e7c80f5f6b3464914c628e9841c78434668815440c66798c6e7
6
+ metadata.gz: c9af41f48395593139225c13413732929f75c2130b8c60ad02456b8df54d02c3b082d0363b9bb3c107ecbd1e519d1d3e5090d3d078248e19eca12ee6108cf7f1
7
+ data.tar.gz: 4f6d5686f46891b9f5251b03433cf40f64c29915342d447854672bfb4286d1c4df08facf724b9d98de3e7906d1f383d0a6e815f90b9647561d41d59b6f08af81
data/Rakefile CHANGED
@@ -7,4 +7,8 @@ Rake::TestTask.new(:test) do |t|
7
7
  t.test_files = FileList['test/**/*_spec.rb', 'test/**/*_test.rb']
8
8
  end
9
9
 
10
+ task :console do
11
+ exec 'pry -r also_energy -I ./lib'
12
+ end
13
+
10
14
  task :default => :test
@@ -43,7 +43,7 @@ module AlsoEnergy
43
43
  if response.nil?
44
44
  fail QueryError, 'Query Failed!'
45
45
  else
46
- response.map { |hw| AlsoEnergy::HardWare.new(hw) }
46
+ response.each { |hw| hw[:session_id] = session_id }.map { |hw| AlsoEnergy::HardWare.new(hw) }
47
47
  end
48
48
  end
49
49
  end
@@ -6,8 +6,6 @@ module APIConnection
6
6
  globals.env_namespace :soapenv
7
7
  globals.namespaces("xmlns:als1" => "http://schemas.datacontract.org/2004/07/AlsoEnergyAPI.Data")
8
8
  globals.namespace_identifier :als
9
- globals.pretty_print_xml true
10
- globals.log true
11
9
  end
12
10
  end
13
11
  end
@@ -1,3 +1,3 @@
1
1
  module AlsoEnergy
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: also_energy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Whitsett
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2015-10-02 00:00:00.000000000 Z
12
+ date: 2015-10-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler