pvoutput 0.2.0 → 1.0.0
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 +5 -5
- data/.github/dependabot.yml +14 -0
- data/.github/workflows/gem-push.yaml +25 -0
- data/.github/workflows/ruby.yml +30 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +20 -5
- data/CHANGELOG.md +27 -0
- data/Gemfile +2 -0
- data/README.md +103 -4
- data/Rakefile +2 -0
- data/bin/console +2 -1
- data/lib/pvoutput.rb +2 -0
- data/lib/pvoutput/client.rb +58 -8
- data/lib/pvoutput/version.rb +3 -1
- data/pvoutput.gemspec +11 -8
- metadata +23 -22
- data/circle.yml +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8838c12458d732306134a95d095732b0601b943a57bd327591390893fde07197
|
4
|
+
data.tar.gz: b302c36decace96a670043a6642bbd19b1a1c8ab08266e8dde4b3c7f8f23f92a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b60f6fbe559f1fc9a15b9debcf5703eaa42aa95bbe35aa7ae3fd8016197d279ce8f3c62414a2c1faa05adfaf7efccbfe2dd9bd0044ec28f239855b0b1492080
|
7
|
+
data.tar.gz: 3e203a8ce6c1c1309ec1ad22f37267f94d74820b6c4a332b36a94c818c1bee9ae2442223b31d45c3b6c243a0887c4023a1e9b22c2f6deadf24c10022854d7f32
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Set update schedule for GitHub Actions
|
2
|
+
version: 2
|
3
|
+
updates:
|
4
|
+
- package-ecosystem: "github-actions"
|
5
|
+
directory: "/"
|
6
|
+
schedule:
|
7
|
+
interval: "weekly"
|
8
|
+
day: "saturday"
|
9
|
+
|
10
|
+
- package-ecosystem: "bundler"
|
11
|
+
directory: "/"
|
12
|
+
schedule:
|
13
|
+
interval: "weekly"
|
14
|
+
day: "saturday"
|
@@ -0,0 +1,25 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
release:
|
5
|
+
types: [ published ]
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
name: Build + Publish
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v2
|
14
|
+
- name: Set up Ruby 2.7
|
15
|
+
uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: 2.7
|
18
|
+
|
19
|
+
- name: Install dependencies
|
20
|
+
run: bundle install
|
21
|
+
- name: Publish to RubyGems
|
22
|
+
run: |
|
23
|
+
rake release
|
24
|
+
env:
|
25
|
+
GEM_HOST_API_KEY: "${{secrets.GEM_HOST_API_KEY}}"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
schedule:
|
9
|
+
- cron: '0 1 * * SUN'
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
test:
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
strategy:
|
15
|
+
matrix:
|
16
|
+
ruby-version: [ '2.5', '2.6', '2.7', '3.0', 'ruby-head' ]
|
17
|
+
|
18
|
+
steps:
|
19
|
+
- uses: actions/checkout@v2
|
20
|
+
- name: Setup ruby
|
21
|
+
uses: ruby/setup-ruby@v1
|
22
|
+
with:
|
23
|
+
ruby-version: ${{ matrix.ruby-version }}
|
24
|
+
bundler-cache: true
|
25
|
+
- name: Install dependencies
|
26
|
+
run: bundle install
|
27
|
+
- name: Lint files
|
28
|
+
run: bundle exec rubocop
|
29
|
+
- name: Run tests
|
30
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
require: rubocop-rspec
|
2
2
|
|
3
|
-
|
3
|
+
AllCops:
|
4
|
+
NewCops: enable
|
5
|
+
|
6
|
+
Style/HashSyntax:
|
4
7
|
EnforcedStyle: hash_rockets
|
5
8
|
|
6
9
|
Style/Documentation:
|
@@ -9,14 +12,26 @@ Style/Documentation:
|
|
9
12
|
Style/Lambda:
|
10
13
|
Enabled: false
|
11
14
|
|
12
|
-
Style/
|
13
|
-
EnforcedStyleForMultiline:
|
15
|
+
Style/TrailingCommaInArrayLiteral:
|
16
|
+
EnforcedStyleForMultiline: consistent_comma
|
17
|
+
|
18
|
+
Style/TrailingCommaInHashLiteral:
|
19
|
+
EnforcedStyleForMultiline: consistent_comma
|
20
|
+
|
21
|
+
Metrics/MethodLength:
|
22
|
+
Max: 20
|
14
23
|
|
15
|
-
|
24
|
+
Layout/LineLength:
|
16
25
|
Max: 120
|
17
26
|
|
27
|
+
RSpec/ExampleLength:
|
28
|
+
Max: 15
|
29
|
+
|
18
30
|
Style/ModuleFunction:
|
19
31
|
Enabled: false
|
20
32
|
|
21
|
-
|
33
|
+
Layout/HashAlignment:
|
22
34
|
EnforcedHashRocketStyle: table
|
35
|
+
|
36
|
+
Style/OptionalBooleanParameter:
|
37
|
+
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,32 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
# 1.0.0 (2021-02-14)
|
4
|
+
|
5
|
+
* Require a minimum of Ruby 2.5 (@jwillemsen)
|
6
|
+
* Clean up ruby gem publish GitHub Action (@jwillemsen)
|
7
|
+
|
8
|
+
# 0.6.0 (2021-02-06)
|
9
|
+
|
10
|
+
This test has no code changes but tests the new release process.
|
11
|
+
|
12
|
+
* Move tests from CircleCI to GitHub Actions (@johnf)
|
13
|
+
* Keep an eye on dependencies with Dependabot (@jwillemsen)
|
14
|
+
* Schedule regular tests against multiple rubys (@jwillemsen)
|
15
|
+
|
16
|
+
# 0.5.0 (2020-09-20)
|
17
|
+
|
18
|
+
* Add more detail to error messages (@jwillemsen)
|
19
|
+
* Support debugging (@johnf)
|
20
|
+
|
21
|
+
# 0.4.0 (20160911)
|
22
|
+
|
23
|
+
* Add retries to batch_output (@jwillemsen)
|
24
|
+
|
25
|
+
# 0.3.0 (20160229)
|
26
|
+
|
27
|
+
* Add donation mode (@jwillemsen)
|
28
|
+
* Add batch_output support (@jwillemsen)
|
29
|
+
|
3
30
|
# 0.2.0 (20160227)
|
4
31
|
|
5
32
|
* Fix typo in temperature (@jwillemsen)
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
# PVOutput
|
2
2
|
|
3
|
-
[](https://github.com/johnf/pvoutput/actions)
|
4
4
|
[](https://coveralls.io/github/johnf/pvoutput?branch=master)
|
5
|
+
[](http://badge.fury.io/rb/pvoutput)
|
6
|
+
|
5
7
|
|
6
8
|
Ruby library for talking to the PVOutput API.
|
7
9
|
|
@@ -35,7 +37,13 @@ First step is to create a PVOutput client using your PVOutput assigned system_id
|
|
35
37
|
pvoutput = PVOutput::Client.new(system_id, api_key)
|
36
38
|
```
|
37
39
|
|
38
|
-
|
40
|
+
At the moment you [donate](http://pvoutput.org/donate.jsp) to PVOutput you can enable the donation mode by creating a PVOutput client using
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
pvoutput = PVOutput::Client.new(system_id, api_key, true)
|
44
|
+
```
|
45
|
+
|
46
|
+
Now you can report your real time status to PVOutput using
|
39
47
|
|
40
48
|
```ruby
|
41
49
|
pvoutput.add_status(
|
@@ -47,7 +55,7 @@ The add_status operation accepts the following options
|
|
47
55
|
|
48
56
|
| Option | PVOutput Parameter |
|
49
57
|
| ---------------- | ------------------ |
|
50
|
-
| energy_generated |v1 |
|
58
|
+
| energy_generated | v1 |
|
51
59
|
| power_generated | v2 |
|
52
60
|
| energy_consumed | v3 |
|
53
61
|
| power_consumed | v4 |
|
@@ -67,11 +75,102 @@ client.add_status(
|
|
67
75
|
)
|
68
76
|
```
|
69
77
|
|
78
|
+
You can report your daily output to PVOutput using
|
79
|
+
|
80
|
+
```ruby
|
81
|
+
pvoutput.add_output(
|
82
|
+
options
|
83
|
+
)
|
84
|
+
```
|
85
|
+
|
86
|
+
The add_output operation accepts the following options
|
87
|
+
|
88
|
+
| Option | PVOutput Parameter |
|
89
|
+
| --------------------- | ------------------ |
|
90
|
+
| output_date | d |
|
91
|
+
| energy_generated | g |
|
92
|
+
| peak_power | pp |
|
93
|
+
| peak_time | pt |
|
94
|
+
| condition | cd |
|
95
|
+
| min_temp | tm |
|
96
|
+
| max_temp | tx |
|
97
|
+
| comments | cm |
|
98
|
+
| import_peak | ip |
|
99
|
+
| import_off_peak | io |
|
100
|
+
| import_shoulder | is |
|
101
|
+
| import_high_shoulder | ih |
|
102
|
+
| consumption | c |
|
103
|
+
|
104
|
+
As example
|
105
|
+
|
106
|
+
```ruby
|
107
|
+
client.add_output(
|
108
|
+
:output_date => '20160228'
|
109
|
+
:energy_generated => 15000,
|
110
|
+
:max_temp => 30
|
111
|
+
)
|
112
|
+
```
|
113
|
+
|
114
|
+
You can report also a batch of daily output values to PVOutput using
|
115
|
+
|
116
|
+
```ruby
|
117
|
+
pvoutput.add_batch_output(
|
118
|
+
options
|
119
|
+
)
|
120
|
+
```
|
121
|
+
|
122
|
+
The add_batch_output operation accepts a hash with the date as key and within that the following options
|
123
|
+
|
124
|
+
| Option | PVOutput Parameter |
|
125
|
+
| --------------------- | ------------------ |
|
126
|
+
| energy_generated | g |
|
127
|
+
| peak_power | pp |
|
128
|
+
| peak_time | pt |
|
129
|
+
| condition | cd |
|
130
|
+
| min_temp | tm |
|
131
|
+
| max_temp | tx |
|
132
|
+
| comments | cm |
|
133
|
+
| import_peak | ip |
|
134
|
+
| import_off_peak | io |
|
135
|
+
| import_shoulder | is |
|
136
|
+
| import_high_shoulder | ih |
|
137
|
+
| consumption | c |
|
138
|
+
|
139
|
+
As example
|
140
|
+
|
141
|
+
```ruby
|
142
|
+
client.add_output(
|
143
|
+
:'20150101' => {
|
144
|
+
:energy_generated => 1239, },
|
145
|
+
:'20150102' => {
|
146
|
+
:energy_generated => 1523 },
|
147
|
+
:'20150103' => {
|
148
|
+
:energy_generated => 2190 },
|
149
|
+
)
|
150
|
+
```
|
151
|
+
|
152
|
+
## Debugging
|
153
|
+
|
154
|
+
You can enable HTTParty debugging to see the requests by setting `PVOUTPUT_DEBUG=true`
|
155
|
+
|
70
156
|
## Development
|
71
157
|
|
72
158
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
73
159
|
|
74
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
160
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
161
|
+
|
162
|
+
## Release
|
163
|
+
|
164
|
+
To release a new version:
|
165
|
+
* Create a branch for the release
|
166
|
+
* Update the version number in `version.rb`
|
167
|
+
* Update CHANGELOG.md
|
168
|
+
* git commit -pm 'Release 1.x.x'
|
169
|
+
* git tag v1.x.x
|
170
|
+
* git push
|
171
|
+
* git push --tags
|
172
|
+
* In GitHub add the Change Log section to the release and save it
|
173
|
+
* Check everything looks OK in GitHub Actions
|
75
174
|
|
76
175
|
## Contributing
|
77
176
|
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
data/lib/pvoutput.rb
CHANGED
data/lib/pvoutput/client.rb
CHANGED
@@ -1,19 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'httparty'
|
2
4
|
|
3
5
|
module PVOutput
|
4
6
|
class Client
|
5
7
|
include HTTParty
|
6
8
|
base_uri 'pvoutput.org'
|
7
|
-
|
9
|
+
debug_output $stdout if ENV['PVOUTPUT_DEBUG']
|
8
10
|
|
9
|
-
def initialize(system_id, api_key)
|
11
|
+
def initialize(system_id, api_key, donation_mode = false)
|
10
12
|
@system_id = system_id.to_s
|
11
13
|
@api_key = api_key.to_s
|
14
|
+
# The batch operations have default limit of 30 sets of data in one request, when you
|
15
|
+
# are using the donation mode the limit is 100 sets
|
16
|
+
@batch_size = 30
|
17
|
+
@batch_size = 100 if donation_mode
|
12
18
|
|
13
19
|
self.class.headers 'X-Pvoutput-Apikey' => @api_key, 'X-Pvoutput-SystemId' => @system_id
|
14
20
|
end
|
15
21
|
|
16
|
-
#
|
22
|
+
# Helper method to post batch request to pvoutput that retries at the moment we get
|
23
|
+
# a 400 error back with body containing 'Load in progress'
|
24
|
+
def post_request(path, options = {}, &block)
|
25
|
+
loop do
|
26
|
+
response = self.class.post(path, options, &block)
|
27
|
+
|
28
|
+
if response.code == 400 && response.body =~ /Load in progress/
|
29
|
+
# We can't send data too fast, when the previous request is still loaded we
|
30
|
+
# have to wait so sleep 10 seconds and try again
|
31
|
+
sleep(10)
|
32
|
+
elsif response.code == 200
|
33
|
+
return
|
34
|
+
else
|
35
|
+
raise("Bad Post: #{response.body}")
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
17
41
|
def add_status(options)
|
18
42
|
time = options[:when] || Time.now
|
19
43
|
|
@@ -33,11 +57,11 @@ module PVOutput
|
|
33
57
|
|
34
58
|
response = self.class.post('/service/r2/addstatus.jsp', :body => params)
|
35
59
|
|
36
|
-
|
60
|
+
raise('Bad Post') unless response.code == 200
|
37
61
|
end
|
38
|
-
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/
|
62
|
+
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
39
63
|
|
40
|
-
# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/
|
64
|
+
# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
41
65
|
def add_output(options)
|
42
66
|
params = {
|
43
67
|
}
|
@@ -50,11 +74,37 @@ module PVOutput
|
|
50
74
|
params[:tm] = options[:min_temp] if options[:min_temp]
|
51
75
|
params[:tx] = options[:max_temp] if options[:max_temp]
|
52
76
|
params[:cm] = options[:comments] if options[:comments]
|
77
|
+
params[:ip] = options[:import_peak] if options[:import_peak]
|
78
|
+
params[:io] = options[:import_off_peak] if options[:import_off_peak]
|
79
|
+
params[:is] = options[:import_shoulder] if options[:import_shoulder]
|
80
|
+
params[:ih] = options[:import_high_shoulder] if options[:import_high_shoulder]
|
81
|
+
params[:c] = options[:consumption] if options[:consumption]
|
53
82
|
|
54
83
|
response = self.class.post('/service/r2/addoutput.jsp', :body => params)
|
55
84
|
|
56
|
-
|
85
|
+
raise('Bad Post') unless response.code == 200
|
86
|
+
end
|
87
|
+
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
88
|
+
|
89
|
+
def add_batch_output(options)
|
90
|
+
keys = %i[energy_generated energy_export energy_used]
|
91
|
+
keys += %i[peak_power peak_time condition min_temp]
|
92
|
+
keys += %i[max_temp comments import_peak import_off_peak]
|
93
|
+
keys += %i[import_shoulder]
|
94
|
+
|
95
|
+
options.to_a.each_slice(@batch_size) do |slice|
|
96
|
+
data = ''
|
97
|
+
slice.each do |entry|
|
98
|
+
date, values = entry
|
99
|
+
data += "#{date},#{keys.map { |key| values[key] }.join(',')};"
|
100
|
+
end
|
101
|
+
|
102
|
+
params = {
|
103
|
+
:data => data.chop,
|
104
|
+
}
|
105
|
+
|
106
|
+
post_request('/service/r2/addbatchoutput.jsp', :body => params)
|
107
|
+
end
|
57
108
|
end
|
58
|
-
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity
|
59
109
|
end
|
60
110
|
end
|
data/lib/pvoutput/version.rb
CHANGED
data/pvoutput.gemspec
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
5
|
require 'pvoutput/version'
|
5
6
|
|
@@ -18,16 +19,18 @@ Gem::Specification.new do |spec|
|
|
18
19
|
spec.require_paths = ['lib']
|
19
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
21
|
|
22
|
+
spec.required_ruby_version = '>= 2.5'
|
23
|
+
|
21
24
|
spec.add_dependency 'httparty'
|
22
25
|
|
23
|
-
spec.add_development_dependency 'bundler', '
|
24
|
-
spec.add_development_dependency '
|
26
|
+
spec.add_development_dependency 'bundler', '>= 2.1'
|
27
|
+
spec.add_development_dependency 'coveralls'
|
25
28
|
spec.add_development_dependency 'pry'
|
29
|
+
spec.add_development_dependency 'rake', '>= 12.3.3'
|
26
30
|
spec.add_development_dependency 'rspec'
|
27
|
-
spec.add_development_dependency '
|
28
|
-
spec.add_development_dependency 'timecop'
|
31
|
+
spec.add_development_dependency 'rspec_junit_formatter'
|
29
32
|
spec.add_development_dependency 'rubocop'
|
30
33
|
spec.add_development_dependency 'rubocop-rspec'
|
31
|
-
spec.add_development_dependency '
|
32
|
-
spec.add_development_dependency '
|
34
|
+
spec.add_development_dependency 'timecop'
|
35
|
+
spec.add_development_dependency 'webmock'
|
33
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pvoutput
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Ferlito
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -28,30 +28,30 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1
|
33
|
+
version: '2.1'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1
|
40
|
+
version: '2.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: coveralls
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,21 +67,21 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 12.3.3
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 12.3.3
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rspec_junit_formatter
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -137,7 +137,7 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: timecop
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
@@ -151,7 +151,7 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: webmock
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
@@ -171,6 +171,9 @@ executables: []
|
|
171
171
|
extensions: []
|
172
172
|
extra_rdoc_files: []
|
173
173
|
files:
|
174
|
+
- ".github/dependabot.yml"
|
175
|
+
- ".github/workflows/gem-push.yaml"
|
176
|
+
- ".github/workflows/ruby.yml"
|
174
177
|
- ".gitignore"
|
175
178
|
- ".rspec"
|
176
179
|
- ".rubocop.yml"
|
@@ -182,7 +185,6 @@ files:
|
|
182
185
|
- Rakefile
|
183
186
|
- bin/console
|
184
187
|
- bin/setup
|
185
|
-
- circle.yml
|
186
188
|
- lib/pvoutput.rb
|
187
189
|
- lib/pvoutput/client.rb
|
188
190
|
- lib/pvoutput/version.rb
|
@@ -199,15 +201,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
201
|
requirements:
|
200
202
|
- - ">="
|
201
203
|
- !ruby/object:Gem::Version
|
202
|
-
version: '
|
204
|
+
version: '2.5'
|
203
205
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
206
|
requirements:
|
205
207
|
- - ">="
|
206
208
|
- !ruby/object:Gem::Version
|
207
209
|
version: '0'
|
208
210
|
requirements: []
|
209
|
-
|
210
|
-
rubygems_version: 2.4.5.1
|
211
|
+
rubygems_version: 3.1.4
|
211
212
|
signing_key:
|
212
213
|
specification_version: 4
|
213
214
|
summary: Library to speak to the PVOutput API
|