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 +4 -4
- data/.travis.yml +4 -2
- data/CHANGELOG.md +4 -0
- data/README.md +12 -9
- data/trustpilot-business-links.gemspec +3 -5
- metadata +5 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3751fdd8dbe8dbc56dea18692ed6b3d8c768b212499a7a0c482b5b4cb5e7b13d
|
4
|
+
data.tar.gz: 64b8aa887cae1a5c62fbd82c20d2ce676afae618965f0898919eb43bfdf18cc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 273099f11fb1b3ada6189a8b7d89dd03a234fceea15070517ed7af4af22e9d27e1a3cc8d31d42c9d16d086fa6c977a63e349c7e036ace898138c6589d9720296
|
7
|
+
data.tar.gz: 168febb1be13b631dc5ac02c80c228015698d4ac5f574ecacf97750066c199201b6ecdbe494f49d0552da89d1df889d95618a862bd6f0786860aed9aaf3ddff2
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
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
|
-
|
6
|
-
|
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
|
-
|
8
|
+
## Installation
|
9
9
|
`gem install trustpilot-business-links`
|
10
10
|
|
11
|
-
|
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
|
-
|
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
|
-
|
39
|
+
## Contributing
|
40
40
|
You are warmly welcome to contribute to the project!
|
41
41
|
|
42
|
-
|
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
|
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.
|
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.
|
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
|
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-
|
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.
|
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.
|
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.
|
175
|
+
version: 2.1.0
|
190
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
177
|
requirements:
|
192
178
|
- - ">="
|