tpex 0.1.6 → 0.1.7
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 +4 -4
- data/lib/tpex/client/auth.rb +29 -3
- data/lib/tpex/client/fields.txt +588 -344
- data/lib/tpex/client/performancenodes.rb +294 -108
- data/lib/tpex/configuration.rb +5 -2
- data/lib/tpex/version.rb +1 -1
- metadata +2 -2
data/lib/tpex/configuration.rb
CHANGED
@@ -25,11 +25,13 @@ module TPEX
|
|
25
25
|
DEFAULT_USERNAME = nil
|
26
26
|
DEFAULT_PASSWORD = nil
|
27
27
|
DEFAULT_ACCESS_TOKEN = nil
|
28
|
-
DEFAULT_ENDPOINT = 'http://
|
28
|
+
DEFAULT_ENDPOINT = 'http://tp-dev.development.nrel.gov/api/'
|
29
29
|
DEFAULT_USER_AGENT = "TPEX Ruby Client #{TPEX::VERSION}".freeze
|
30
30
|
DEFAULT_COOKIE = nil
|
31
31
|
DEFAULT_LOGGING = nil
|
32
32
|
|
33
|
+
|
34
|
+
|
33
35
|
attr_accessor *VALID_OPTIONS_KEYS
|
34
36
|
|
35
37
|
# When this module is extended, set all configuration options to their default values
|
@@ -60,5 +62,6 @@ module TPEX
|
|
60
62
|
self.cookie = DEFAULT_COOKIE
|
61
63
|
self.logging = DEFAULT_LOGGING
|
62
64
|
end
|
63
|
-
|
65
|
+
|
66
|
+
end
|
64
67
|
end
|
data/lib/tpex/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tpex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katherine Fleming
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2014-01-23 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: faraday
|