aemo 0.1.17 → 0.1.18

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9f534b1b97bec9bc352216cfc352bcbbc9a4883
4
- data.tar.gz: 7f94739af0677d741fbc40a556db9a3c64912ca1
3
+ metadata.gz: 3f41d3855ad3d3e917266fe190f15026df71da78
4
+ data.tar.gz: 985d6bfcf9705b716f07181634d69d089954e0bc
5
5
  SHA512:
6
- metadata.gz: 33b75e75812ff15f24222447689792ff07c04ee5f71ec950f753284dc9bf2e8874996a3672a571dfe1990679192efce12f6bb76f76e0f2d0a5d1d5b51535ab74
7
- data.tar.gz: 1b877767ec31988797dc055d537f12f52a3b97fbcecc05bbaec47e43810426bd4cf8014860477ca156913de2ba77d75ea6e2cab7b4c4f583741026ff1f45373a
6
+ metadata.gz: 2ac832ad9c7cd0bf338e24727b4ffed803a6ebc252a86d2b133e5393648d823d37412f00e1a0acee9124d95fc9d8a0f5cb90342c88afabd4b4dcb0abb3ce272b
7
+ data.tar.gz: 8513eb588865348a61c9e29337875e29882c4101ca747fa35e5817b01addda6b82b75345a2617f99b17fd7933c3f320d85b0773095850318f374c3ad716158f0
@@ -110,4 +110,4 @@ DEPENDENCIES
110
110
  zip!
111
111
 
112
112
  BUNDLED WITH
113
- 1.10.3
113
+ 1.10.6
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.name = 'aemo'
7
7
  s.version = AEMO::VERSION
8
8
  s.platform = Gem::Platform::RUBY
9
- s.date = '2015-08-27'
9
+ s.date = '2016-02-16'
10
10
  s.summary = 'AEMO Gem'
11
11
  s.description = 'Gem providing functionality for the Australian Energy Market Operator data'
12
12
  s.authors = ['Joel Courtney','Stuart Auld']
@@ -243,7 +243,7 @@ module AEMO
243
243
  #
244
244
  # @return [Boolean] true/false if credentials are available
245
245
  def self.can_authenticate?
246
- !(@@participant_id.nil? || @@auth[:username].nil? || @@auth[:username].nil?)
246
+ !(@@participant_id.nil? || @@auth[:username].nil? || @@auth[:password].nil?)
247
247
  end
248
248
 
249
249
  end
@@ -561,7 +561,7 @@ module AEMO
561
561
  def friendly_address
562
562
  friendly_address = ''
563
563
  if @address.is_a?(Hash)
564
- friendly_address = @nmi.address.values.map{|x| x.is_a?(Hash) ? x.values.map{|y| y.is_a?(Hash) ? y.values.join(" ") : y }.join(" ") : x }.join(", ")
564
+ friendly_address = @address.values.map{|x| x.is_a?(Hash) ? x.values.map{|y| y.is_a?(Hash) ? y.values.join(" ") : y }.join(" ") : x }.join(", ")
565
565
  end
566
566
  friendly_address
567
567
  end
@@ -22,7 +22,7 @@
22
22
  # @author Joel Courtney <euphemize@gmail.com>
23
23
  module AEMO
24
24
  # aemo version
25
- VERSION = '0.1.17'
25
+ VERSION = '0.1.18'
26
26
 
27
27
  # aemo version split amongst different revisions
28
28
  MAJOR_VERSION, MINOR_VERSION, REVISION = VERSION.split('.').map(&:to_i)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aemo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Courtney
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-27 00:00:00.000000000 Z
12
+ date: 2016-02-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json