pwinty 3.0.0 → 3.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: 29741067383be8a72dc43996cefe7425f8dedda4e3f63d92e374361bb39cb2a9
4
- data.tar.gz: aee51c0441e3688c3545b7d85ffedea3377410af055c40d7f42b6219827f85ed
3
+ metadata.gz: 5076f4e3e6fe45dc91cd6f502d24c3579406b2894e13835c4455feaeca66eb86
4
+ data.tar.gz: '07998de4bca760eee940c24e235e36aa74a543a93aee204fe6bc5f5cf0109292'
5
5
  SHA512:
6
- metadata.gz: 6134e5d706fa2b1cdbee88cdb45e1b52144dc5a665f8a3e4f883fc9e5359d254ef49cad30ede707b895b71d1e059a067dc6150764a09637b805334e56a3a4c30
7
- data.tar.gz: 5fbe7c669c81e7ce01ac3a4bf288e9aa17b3591bee7ee9f09e2f2ddfde643bc8073ffc091276077b72360687e2aef06fb43be16a866ec412c238232f075ace1f
6
+ metadata.gz: d5ad732854db523ae41b30541cced1335616816219166caaa737a082fe6a55625c9c0d76cb678ce1056bbe70bb6d7d51f44766f16adf0f9c4e855b5dea09071d
7
+ data.tar.gz: 2ee761b1229f0cf3b08ac81b27055016a54e1e394c5f93ee4d9c970d72671add4197681b598b09eb361d3acabfe0e7790335e19a4422c1b4626728721eb1b8e4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pwinty (3.0.0)
4
+ pwinty (3.0.1)
5
5
  dry-struct (~> 1.0)
6
6
  dry-struct-setters (~> 0.2)
7
7
  faraday (~> 0.15)
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Pwinty
2
2
 
3
3
  [![Build Status](https://travis-ci.org/tomharvey/pwinty3-rb.svg?branch=master)](https://travis-ci.org/tomharvey/pwinty3-rb)
4
- [![Gem Version](https://badge.fury.io/rb/pwinty3.svg)](https://badge.fury.io/rb/pwinty3)
4
+ [![Gem Version](https://badge.fury.io/rb/pwinty.svg)](https://badge.fury.io/rb/pwinty)
5
5
  [![Test Coverage](https://api.codeclimate.com/v1/badges/e92699eebe92f2db5758/test_coverage)](https://codeclimate.com/github/tomharvey/pwinty3-rb/test_coverage)
6
6
  [![Maintainability](https://api.codeclimate.com/v1/badges/e92699eebe92f2db5758/maintainability)](https://codeclimate.com/github/tomharvey/pwinty3-rb/maintainability)
7
7
  [![Known Vulnerabilities](https://snyk.io//test/github/tomharvey/pwinty3-rb/badge.svg?targetFile=Gemfile.lock)](https://snyk.io//test/github/tomharvey/pwinty3-rb?targetFile=Gemfile.lock)
@@ -52,10 +52,10 @@ module Pwinty
52
52
  end
53
53
  end
54
54
 
55
- def self.collate_results(response_data, classType)
55
+ def self.collate_results(response_data, targetted_class)
56
56
  collection = []
57
57
  response_data.each do |individual_attr|
58
- collection << classType.new(individual_attr)
58
+ collection << targetted_class.new(individual_attr)
59
59
  end
60
60
  collection
61
61
  end
@@ -1,3 +1,3 @@
1
1
  module Pwinty
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
@@ -14,6 +14,10 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://github.com/tomharvey/pwinty3-rb"
15
15
  spec.license = "MIT"
16
16
 
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = spec.homepage
19
+ spec.metadata["documentation_uri"] = "https://pwinty.com/api/"
20
+
17
21
  # Specify which files should be added to the gem when it is released.
18
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
23
  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwinty
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Harvey
@@ -198,7 +198,10 @@ files:
198
198
  homepage: https://github.com/tomharvey/pwinty3-rb
199
199
  licenses:
200
200
  - MIT
201
- metadata: {}
201
+ metadata:
202
+ homepage_uri: https://github.com/tomharvey/pwinty3-rb
203
+ source_code_uri: https://github.com/tomharvey/pwinty3-rb
204
+ documentation_uri: https://pwinty.com/api/
202
205
  post_install_message:
203
206
  rdoc_options: []
204
207
  require_paths: