zesty 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +22 -0
- data/.github/workflows/ci.yml +3 -24
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +23 -23
- data/README.md +5 -5
- data/lib/zesty/version.rb +1 -1
- data/zesty.gemspec +5 -5
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4c443e4a6ee931ee7f6ec5c1765fad869a54df01bc7ee770d1ca1509e64aa48
|
4
|
+
data.tar.gz: 3b24ec57148ee9d0048c5b00daa517faf69ee5522a493f660ed046fd5dcc2dc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f42c84af4a6b34ad56816218ae851caaa95d46eb688c72c7a9fbc8c5bd19b88a557edf679a4cd3d18d62d1488e9045bbaa417f46e4f029ebb7b557d6c897caa5
|
7
|
+
data.tar.gz: 4178239e8125d0e125acfa23dde785b709d3b6497193629565ca352aa2189e7ab82ded5a3b12b2d50d5c0b488949d318741b843315750a97d073283b3a97b124
|
@@ -0,0 +1,22 @@
|
|
1
|
+
version: 2
|
2
|
+
updates:
|
3
|
+
- package-ecosystem: bundler
|
4
|
+
directory: "/"
|
5
|
+
schedule:
|
6
|
+
interval: daily
|
7
|
+
time: "12:00"
|
8
|
+
timezone: America/New_York
|
9
|
+
open-pull-requests-limit: 99
|
10
|
+
allow:
|
11
|
+
- dependency-type: direct
|
12
|
+
- dependency-type: indirect
|
13
|
+
ignore:
|
14
|
+
- dependency-name: webmock
|
15
|
+
versions:
|
16
|
+
- 3.11.3
|
17
|
+
- dependency-name: rspec-mocks
|
18
|
+
versions:
|
19
|
+
- 3.10.2
|
20
|
+
- dependency-name: rspec-support
|
21
|
+
versions:
|
22
|
+
- 3.10.2
|
data/.github/workflows/ci.yml
CHANGED
@@ -11,35 +11,14 @@ jobs:
|
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
strategy:
|
13
13
|
matrix:
|
14
|
-
ruby: [ '2.
|
14
|
+
ruby: [ '2.5', '2.6', '2.7.1', '3.0' ]
|
15
15
|
name: Ruby ${{ matrix.ruby }}
|
16
16
|
steps:
|
17
17
|
- uses: actions/checkout@v2
|
18
|
-
|
19
|
-
- uses: actions/setup-ruby@v1
|
18
|
+
- uses: ruby/setup-ruby@v1
|
20
19
|
with:
|
21
20
|
ruby-version: ${{ matrix.ruby }}
|
22
|
-
|
23
|
-
- uses: actions/cache@v1
|
24
|
-
with:
|
25
|
-
path: vendor/bundle
|
26
|
-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
27
|
-
restore-keys: |
|
28
|
-
${{ runner.os }}-gems-
|
29
|
-
|
30
|
-
- name: Install rubygems
|
31
|
-
run: |
|
32
|
-
gem update --system --no-document
|
33
|
-
|
34
|
-
- name: Install bundler
|
35
|
-
run: |
|
36
|
-
gem install bundler --no-document
|
37
|
-
|
38
|
-
- name: Install dependencies
|
39
|
-
run: |
|
40
|
-
bundle config path vendor/bundle
|
41
|
-
bundle install --jobs 4 --retry 3
|
42
|
-
|
21
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
43
22
|
- name: Run Tests
|
44
23
|
env:
|
45
24
|
EMAIL: email
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
zesty (0.1
|
4
|
+
zesty (0.2.1)
|
5
5
|
http (~> 4.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -9,13 +9,13 @@ GEM
|
|
9
9
|
specs:
|
10
10
|
addressable (2.7.0)
|
11
11
|
public_suffix (>= 2.0.2, < 5.0)
|
12
|
-
crack (0.4.
|
13
|
-
|
14
|
-
diff-lcs (1.4.
|
12
|
+
crack (0.4.5)
|
13
|
+
rexml
|
14
|
+
diff-lcs (1.4.4)
|
15
15
|
domain_name (0.5.20190701)
|
16
16
|
unf (>= 0.0.5, < 1.0.0)
|
17
|
-
dotenv (2.7.
|
18
|
-
ffi (1.
|
17
|
+
dotenv (2.7.6)
|
18
|
+
ffi (1.15.1)
|
19
19
|
ffi-compiler (1.0.1)
|
20
20
|
ffi (>= 1.0.0)
|
21
21
|
rake
|
@@ -28,30 +28,30 @@ GEM
|
|
28
28
|
http-cookie (1.0.3)
|
29
29
|
domain_name (~> 0.5)
|
30
30
|
http-form_data (2.3.0)
|
31
|
-
http-parser (1.2.
|
31
|
+
http-parser (1.2.3)
|
32
32
|
ffi-compiler (>= 1.0, < 2.0)
|
33
|
-
public_suffix (4.0.
|
34
|
-
rake (13.0.
|
35
|
-
|
36
|
-
|
37
|
-
rspec-
|
38
|
-
rspec-
|
39
|
-
|
40
|
-
|
41
|
-
|
33
|
+
public_suffix (4.0.6)
|
34
|
+
rake (13.0.3)
|
35
|
+
rexml (3.2.5)
|
36
|
+
rspec (3.10.0)
|
37
|
+
rspec-core (~> 3.10.0)
|
38
|
+
rspec-expectations (~> 3.10.0)
|
39
|
+
rspec-mocks (~> 3.10.0)
|
40
|
+
rspec-core (3.10.1)
|
41
|
+
rspec-support (~> 3.10.0)
|
42
|
+
rspec-expectations (3.10.1)
|
42
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.
|
44
|
+
rspec-support (~> 3.10.0)
|
44
45
|
rspec-json_expectations (2.2.0)
|
45
|
-
rspec-mocks (3.
|
46
|
+
rspec-mocks (3.10.2)
|
46
47
|
diff-lcs (>= 1.2.0, < 2.0)
|
47
|
-
rspec-support (~> 3.
|
48
|
-
rspec-support (3.
|
49
|
-
safe_yaml (1.0.5)
|
48
|
+
rspec-support (~> 3.10.0)
|
49
|
+
rspec-support (3.10.2)
|
50
50
|
unf (0.1.4)
|
51
51
|
unf_ext
|
52
52
|
unf_ext (0.0.7.7)
|
53
53
|
vcr (6.0.0)
|
54
|
-
webmock (3.
|
54
|
+
webmock (3.12.2)
|
55
55
|
addressable (>= 2.3.6)
|
56
56
|
crack (>= 0.3.2)
|
57
57
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -70,4 +70,4 @@ DEPENDENCIES
|
|
70
70
|
zesty!
|
71
71
|
|
72
72
|
BUNDLED WITH
|
73
|
-
2.
|
73
|
+
2.1.4
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# The Zesty.io Ruby Gem
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/zesty.svg)][gem]
|
4
|
-
![CI Build](https://github.com/
|
4
|
+
![CI Build](https://github.com/jackpocket/zesty-rb/workflows/CI%20Build/badge.svg)
|
5
5
|
|
6
|
-
A Ruby interface to [the Zesty REST API](https://zesty.org/apis/instant-content-api). Requires Ruby 2.
|
6
|
+
A Ruby interface to [the Zesty REST API](https://zesty.org/apis/instant-content-api). Requires Ruby 2.5 and up. Not all API actions are supported yet. Since the Zesty API uses mostly camelCase, this gem will handle converting to and from snake_case for you.
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
@@ -83,7 +83,7 @@ pp head_tag
|
|
83
83
|
|
84
84
|
## Development
|
85
85
|
|
86
|
-
1. `git clone https://github.com/
|
86
|
+
1. `git clone https://github.com/jackpocket/zesty-rb.git`
|
87
87
|
2. Run `./bin/setup` to install dependencies and fill out API info
|
88
88
|
3. Run `./bin/console` for an interactive prompt with an authenticated client for you to experiment:
|
89
89
|
|
@@ -105,7 +105,7 @@ To release a new version, update the version number in `version.rb`, and then ru
|
|
105
105
|
|
106
106
|
## Contributing
|
107
107
|
|
108
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
108
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/jackpocket/zesty-rb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
109
109
|
|
110
110
|
## License
|
111
111
|
|
@@ -113,6 +113,6 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
113
113
|
|
114
114
|
## Code of Conduct
|
115
115
|
|
116
|
-
Everyone interacting in the Zesty project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
116
|
+
Everyone interacting in the Zesty project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/jackpocket/zesty-rb/blob/master/CODE_OF_CONDUCT.md).
|
117
117
|
|
118
118
|
[gem]: https://rubygems.org/gems/zesty
|
data/lib/zesty/version.rb
CHANGED
data/zesty.gemspec
CHANGED
@@ -6,19 +6,19 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "zesty"
|
7
7
|
spec.version = Zesty::VERSION
|
8
8
|
spec.authors = ["Javier Julio"]
|
9
|
-
spec.email = ["
|
9
|
+
spec.email = ["javier@jackpocket.com"]
|
10
10
|
|
11
11
|
spec.summary = %q{A Ruby interface to the Zesty.io API}
|
12
12
|
spec.description = %q{A Ruby interface to the Zesty.io API}
|
13
|
-
spec.homepage = "https://github.com/
|
13
|
+
spec.homepage = "https://github.com/jackpocket/zesty-rb"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
17
17
|
|
18
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
19
19
|
spec.metadata["source_code_uri"] = spec.homepage
|
20
|
-
spec.metadata["changelog_uri"] = "https://github.com/
|
21
|
-
spec.metadata["bug_tracker_uri"] = "https://github.com/
|
20
|
+
spec.metadata["changelog_uri"] = "https://github.com/jackpocket/zesty-rb/blob/master/CHANGELOG.md"
|
21
|
+
spec.metadata["bug_tracker_uri"] = "https://github.com/jackpocket/zesty-rb/issues"
|
22
22
|
|
23
23
|
# Specify which files should be added to the gem when it is released.
|
24
24
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
|
-
spec.required_ruby_version = ">= 2.
|
32
|
+
spec.required_ruby_version = ">= 2.5.0"
|
33
33
|
|
34
34
|
spec.add_dependency "http", "~> 4.0"
|
35
35
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zesty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Julio
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|
@@ -124,12 +124,13 @@ dependencies:
|
|
124
124
|
version: '0'
|
125
125
|
description: A Ruby interface to the Zesty.io API
|
126
126
|
email:
|
127
|
-
-
|
127
|
+
- javier@jackpocket.com
|
128
128
|
executables: []
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
132
|
- ".env.sample"
|
133
|
+
- ".github/dependabot.yml"
|
133
134
|
- ".github/workflows/ci.yml"
|
134
135
|
- ".gitignore"
|
135
136
|
- ".rspec"
|
@@ -151,14 +152,14 @@ files:
|
|
151
152
|
- lib/zesty/request.rb
|
152
153
|
- lib/zesty/version.rb
|
153
154
|
- zesty.gemspec
|
154
|
-
homepage: https://github.com/
|
155
|
+
homepage: https://github.com/jackpocket/zesty-rb
|
155
156
|
licenses:
|
156
157
|
- MIT
|
157
158
|
metadata:
|
158
|
-
homepage_uri: https://github.com/
|
159
|
-
source_code_uri: https://github.com/
|
160
|
-
changelog_uri: https://github.com/
|
161
|
-
bug_tracker_uri: https://github.com/
|
159
|
+
homepage_uri: https://github.com/jackpocket/zesty-rb
|
160
|
+
source_code_uri: https://github.com/jackpocket/zesty-rb
|
161
|
+
changelog_uri: https://github.com/jackpocket/zesty-rb/blob/master/CHANGELOG.md
|
162
|
+
bug_tracker_uri: https://github.com/jackpocket/zesty-rb/issues
|
162
163
|
post_install_message:
|
163
164
|
rdoc_options: []
|
164
165
|
require_paths:
|
@@ -167,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
167
168
|
requirements:
|
168
169
|
- - ">="
|
169
170
|
- !ruby/object:Gem::Version
|
170
|
-
version: 2.
|
171
|
+
version: 2.5.0
|
171
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
173
|
requirements:
|
173
174
|
- - ">="
|