trustpilot-business-links 1.0.3 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6019f007c1fb249a3f9ffbad4a40fa679b6909e93f25f3328f7143e45579024
4
- data.tar.gz: f35de676468187a17d2fceb5943474d28c97933cde44a82f860e0c87345c232d
3
+ metadata.gz: 3751fdd8dbe8dbc56dea18692ed6b3d8c768b212499a7a0c482b5b4cb5e7b13d
4
+ data.tar.gz: 64b8aa887cae1a5c62fbd82c20d2ce676afae618965f0898919eb43bfdf18cc8
5
5
  SHA512:
6
- metadata.gz: 902d8aa44e88cba2cf1c79beadfbf5a922c88da4e3bd8e2f8d525b0d8402219e5e26d08213654f2366ff53ae4f45df2f9b59cb5537dd7097038c0857b432e50f
7
- data.tar.gz: 2d8abaf2a7b0bd976096ad8c6f1e139593ed88e9176c278fdbbe3d7512cb7aced6543d6227c8bde8630f04002e693bd1bcac52fb669e641aa9d4239ad5445730
6
+ metadata.gz: 273099f11fb1b3ada6189a8b7d89dd03a234fceea15070517ed7af4af22e9d27e1a3cc8d31d42c9d16d086fa6c977a63e349c7e036ace898138c6589d9720296
7
+ data.tar.gz: 168febb1be13b631dc5ac02c80c228015698d4ac5f574ecacf97750066c199201b6ecdbe494f49d0552da89d1df889d95618a862bd6f0786860aed9aaf3ddff2
@@ -1,8 +1,10 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 2.3.3
5
- - 2.4.0
4
+ - 2.1.10
5
+ - 2.3.7
6
+ - 2.4.4
7
+ - 2.5.1
6
8
 
7
9
  before_install:
8
10
  - gem update --system # https://github.com/bundler/bundler/issues/5357
@@ -1,6 +1,10 @@
1
1
  # Next version
2
2
  - Your contribution!
3
3
 
4
+ # Version 1.1.0
5
+ - Remove `openssl` gem dependency
6
+ - Lower minimal ruby version to 2.1.0
7
+
4
8
  # Version 1.0.3
5
9
  - Bump minimal ruby version to 2.3.0
6
10
 
data/README.md CHANGED
@@ -1,14 +1,14 @@
1
- [![Build Status](https://travis-ci.org/trainline-eu/trustpilot-business-links.svg?branch=master)](https://travis-ci.org/trainline-eu/trustpilot-business-links)
1
+ # Trustpilot Business Links generator gem [![Build Status](https://travis-ci.org/trainline-eu/trustpilot-business-links.svg?branch=master)](https://travis-ci.org/trainline-eu/trustpilot-business-links) [![Gem Version](https://badge.fury.io/rb/trustpilot-business-links.svg)](http://badge.fury.io/rb/trustpilot-business-links)
2
2
 
3
3
  Generate the [Trustpilot Business Generated Links](https://support.trustpilot.com/hc/en-us/articles/115002337108-Trustpilot-s-Business-Generated-Links-) in ruby.
4
4
 
5
- # Requirements
6
- - Ruby 2.3.0 or newer
5
+ ## Requirements
6
+ Ruby 2.1.0 or newer. It probably works on lower versions but has not been tested and is not supported.
7
7
 
8
- # Installation
8
+ ## Installation
9
9
  `gem install trustpilot-business-links`
10
10
 
11
- # Usage
11
+ ## Usage
12
12
  ~~~ruby
13
13
  require 'json'
14
14
  require 'trustpilot-business-links'
@@ -29,15 +29,18 @@ encrypted_payload = trustpilot_bgl.encrypt(review_payload.to_json)
29
29
  puts "https://www.trustpilot.com/evaluate-bgl/www.example.com?p=#{encrypted_payload}"
30
30
  ~~~
31
31
 
32
- # Test
32
+ ## Test
33
33
  ~~~bash
34
34
  make test
35
35
  ~~~
36
36
 
37
- 100% of the source code should be covered.
37
+ 100% of the source code should be covered by tests.
38
38
 
39
- # Contributing
39
+ ## Contributing
40
40
  You are warmly welcome to contribute to the project!
41
41
 
42
- # Documentation
42
+ ## Documentation
43
43
  * https://support.trustpilot.com/hc/en-us/articles/115004145087--Business-Generated-Links-for-developers-
44
+
45
+ ## License
46
+ The projected is licensed under the MIT license. See [LICENSE.md](LICENSE.md).
@@ -3,7 +3,7 @@ $: << File.expand_path("../lib", __FILE__)
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'trustpilot-business-links'
5
5
  s.licenses = ['MIT']
6
- s.version = '1.0.3'
6
+ s.version = '1.1.0'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Théophile Helleboid']
9
9
  s.email = ['theophile.helleboid@trainline.com']
@@ -16,14 +16,12 @@ Gem::Specification.new do |s|
16
16
  s.test_files = `git ls-files -- spec/*`.split("\n")
17
17
  s.require_paths = ['lib']
18
18
 
19
- s.required_ruby_version = '>= 2.3.0'
20
-
21
- s.add_dependency 'openssl', '~> 2.1'
19
+ s.required_ruby_version = '>= 2.1.0'
22
20
 
23
21
  s.add_development_dependency 'pry', '~> 0.11'
24
22
  s.add_development_dependency 'ci_reporter', '~> 2.0'
25
23
  s.add_development_dependency 'ci_reporter_rspec', '~> 1.0'
26
- s.add_development_dependency 'rack-test', '~> 0.7'
24
+ s.add_development_dependency 'rack-test', '~> 0.5'
27
25
  s.add_development_dependency 'rake', '~> 12.2'
28
26
  s.add_development_dependency 'rspec', '~> 3.6'
29
27
  s.add_development_dependency 'rspec-its', '~> 1.2'
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trustpilot-business-links
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Théophile Helleboid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-04 00:00:00.000000000 Z
11
+ date: 2018-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: openssl
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2.1'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '2.1'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: pry
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +58,14 @@ dependencies:
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '0.7'
61
+ version: '0.5'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: '0.7'
68
+ version: '0.5'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: rake
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -186,7 +172,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
172
  requirements:
187
173
  - - ">="
188
174
  - !ruby/object:Gem::Version
189
- version: 2.3.0
175
+ version: 2.1.0
190
176
  required_rubygems_version: !ruby/object:Gem::Requirement
191
177
  requirements:
192
178
  - - ">="