green-button-data 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: 20b38303872ce2f93255dcc55e52e683c7ec264904e17fc578794ff241738017
4
- data.tar.gz: 64ac1db54bcf51f90958468fe0ae22e8d470b2943bf31253e7f725720e7af444
3
+ metadata.gz: e4b900f97fe8680d6c03e09109fc812ba287bbdf5151c19f06bb820443fcffd2
4
+ data.tar.gz: 56a31045c3e3c93635b4fd11dcc2e9e4c0eaaa90cc7770ddd68e80deb7ea03fc
5
5
  SHA512:
6
- metadata.gz: b77bdf9f4c7fc5bc5ea259427d714ad98bf430aa8f0653980df9cbb3c9ba76dca1328b29d44d6c10c32227103928098c9b6a76810b9605c1a9e171ba57ac6440
7
- data.tar.gz: 7401878c7c2a2fbbd04adaef7ebef22bd0d0ee15049703b1d84d94a5b0b6398b3602779943da2403133c76d78704a41a90993d5ec990a15116e3e29edf8ca0ea
6
+ metadata.gz: f99cfd648839bd8ded9ac36c255610a45ad5fa885589ec13ea5ceaa83c3a81b5d0fbfcc35af750b1a624271cacc2fdc424111699ea535759dcd2c5d900782e26
7
+ data.tar.gz: 168ef2b0973a3a006dc2987fbc9067e6266e4b5c92d3504a53568beb723ce99b9c40a7eef78115c0ca97cedab19f667db02d8e635c369878cd745e894f444a5e
data/.circleci/config.yml CHANGED
@@ -11,7 +11,7 @@ test-steps: &test-steps
11
11
  - v1-gem-cache-{{ arch }}
12
12
  - run:
13
13
  name: Install dependencies
14
- command: bundle install && bundle clean
14
+ command: bundle install
15
15
  - save_cache:
16
16
  paths:
17
17
  - ~/.bundle
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source 'https://rubygems.org/'
2
2
 
3
3
  gemspec
4
4
 
5
- group :deveopment do
5
+ group :development do
6
6
  gem 'guard-rspec', require: false
7
7
  end
8
8
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- green-button-data (0.7.5)
4
+ green-button-data (1.0.0)
5
5
  faraday (~> 0.11)
6
6
  nokogiri (~> 1.8)
7
7
  sax-machine (~> 1.3)
@@ -20,7 +20,7 @@ GEM
20
20
  safe_yaml (~> 1.0.0)
21
21
  diff-lcs (1.3)
22
22
  docile (1.3.1)
23
- faraday (0.15.4)
23
+ faraday (0.17.0)
24
24
  multipart-post (>= 1.2, < 3)
25
25
  ffi (1.10.0)
26
26
  formatador (0.2.5)
@@ -47,9 +47,9 @@ GEM
47
47
  lumberjack (1.0.13)
48
48
  method_source (0.9.2)
49
49
  mini_portile2 (2.4.0)
50
- multipart-post (2.0.0)
50
+ multipart-post (2.1.1)
51
51
  nenv (0.3.0)
52
- nokogiri (1.10.1)
52
+ nokogiri (1.10.5)
53
53
  mini_portile2 (~> 2.4.0)
54
54
  notiffany (0.1.1)
55
55
  nenv (~> 0.1)
@@ -102,4 +102,4 @@ DEPENDENCIES
102
102
  webmock (~> 1.21)
103
103
 
104
104
  BUNDLED WITH
105
- 1.16.2
105
+ 1.16.6
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015, Verdigris Technologies Inc.
1
+ Copyright (c) 2020, Verdigris Technologies Inc.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
data/README.md CHANGED
@@ -346,7 +346,7 @@ For more information, check out our [Careers](verdigris-careers) page.
346
346
 
347
347
  ---
348
348
 
349
- <sub>Copyright © 2015-2019, [Verdigris Technologies Inc](https://verdigris.co). All rights reserved.</sub>
349
+ <sub>Copyright © 2015-2020, [Verdigris Technologies Inc](https://verdigris.co). All rights reserved.</sub>
350
350
 
351
351
  [verdigris-location]: https://www.google.com/maps/place/Verdigris+Technologies/@37.4105674,-122.0605774,17z
352
352
  [verdigris-careers]: https://verdigris.co/careers
@@ -56,6 +56,10 @@ module GreenButtonData
56
56
  as: :service_location
57
57
  element :'ns0:CustomerAgreement', class: CustomerAgreement,
58
58
  as: :customer_agreement
59
+
60
+ # Special case for SCE namespacing
61
+ element :'cust:CustomerAgreement', class: CustomerAgreement,
62
+ as: :customer_agreement
59
63
  end
60
64
  end
61
65
  end
@@ -10,6 +10,9 @@ module GreenButtonData
10
10
 
11
11
  # Special case for PG&E generic namespacing
12
12
  element :'ns0:name', as: :customer_agreement_id
13
+
14
+ # Special case for SCE namespacing
15
+ element :'cust:name', as: :customer_agreement_id
13
16
  end
14
17
  end
15
18
  end
@@ -1,3 +1,3 @@
1
1
  module GreenButtonData
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: green-button-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Jo
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-02-01 00:00:00.000000000 Z
13
+ date: 2020-01-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  - !ruby/object:Gem::Version
204
204
  version: '0'
205
205
  requirements: []
206
- rubygems_version: 3.0.1
206
+ rubygems_version: 3.0.3
207
207
  signing_key:
208
208
  specification_version: 4
209
209
  summary: Client and parser for Green Button API