gettyimages-api 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: ff519822ae89189309b6bcf3ba7195d7e3981d01b7c44eeda4453a16d43e2d90
4
- data.tar.gz: 37a08846bd87216ac97f33296d38925acba25af8bcfde3fa5e689843b69c4106
3
+ metadata.gz: 997e7f50a48676a01163f288529a8e26129ff288e220593d4c33a240edad4ceb
4
+ data.tar.gz: a44a0e727ba765c23c4e44360088b27d9526283fd5b21dc230bb883a42542787
5
5
  SHA512:
6
- metadata.gz: dbc56a7f823895a5b187b0cdcd9cba7d1b7744104b1c967c0d4bb90624d826ef6012341e5a53bf4e25d54680a1f2cce185cf8802133f19cd92c3524ee07a616d
7
- data.tar.gz: 221f9e98e72105c129c8acde75ff31226197cb6552ffb162587555fafe0080877b6ebf9e3e895d93d08f89126ecebb7483e69a4ff7992b114d196fdabb1cc3f8
6
+ metadata.gz: c43ff3f1dbb02255792b2fc0dd6ef490a5de0a55975d249310cffb4d983efecef04654f962d14a171ae3d25dc29d9fb5152860a5513585c41d51a0ac0177bd19
7
+ data.tar.gz: 15bd7ce9133f5457429376fdbcf1db10127472224ff02ba9790dfb5f5f6c1c19a4ea2c8d1ed66657a5b1bcac4177910885b6de15698f755e26d4c7338fc09bab
@@ -0,0 +1,35 @@
1
+ name: Build
2
+
3
+ on:
4
+ push:
5
+ branches: [ master, actions ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ test:
11
+
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ ruby-version: [ 2.5, 2.6, 2.7 ]
16
+
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ with:
20
+ fetch-depth: 0
21
+
22
+ - uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby-version }}
25
+
26
+ - name: 'Get Previous tag'
27
+ id: previoustag
28
+ uses: "WyriHaximus/github-action-get-previous-tag@v1"
29
+
30
+ - name: Set version
31
+ run: |
32
+ sed -i -e "s/0.0.0/${{ steps.previoustag.outputs.tag }}/" lib/GettyImagesApi/version.rb
33
+ cat lib/GettyImagesApi/version.rb
34
+
35
+ - run: make build
@@ -0,0 +1,40 @@
1
+ name: Publish
2
+
3
+ on:
4
+ release:
5
+ types: [released]
6
+
7
+ jobs:
8
+ test:
9
+
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ with:
15
+ fetch-depth: 0
16
+
17
+ - uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 2.5
20
+
21
+ - name: 'Get Previous tag'
22
+ id: previoustag
23
+ uses: "WyriHaximus/github-action-get-previous-tag@v1"
24
+
25
+ - name: Set version
26
+ run: |
27
+ sed -i -e "s/0.0.0/${{ steps.previoustag.outputs.tag }}/" lib/GettyImagesApi/version.rb
28
+ cat lib/GettyImagesApi/version.rb
29
+
30
+ - run: make build
31
+
32
+ - name: Publish to RubyGems
33
+ run: |
34
+ mkdir -p $HOME/.gem
35
+ touch $HOME/.gem/credentials
36
+ chmod 0600 $HOME/.gem/credentials
37
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
38
+ gem push gettyimages-api-${{ steps.previoustag.outputs.tag }}.gem
39
+ env:
40
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
data/.gitignore CHANGED
@@ -12,3 +12,5 @@
12
12
  *.o
13
13
  *.a
14
14
  mkmf.log
15
+ *.gem
16
+ vendor
data/Gemfile CHANGED
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
3
3
  gem 'rake'
4
4
  gem 'json'
5
5
  gem 'test-unit'
6
- gem 'webmock'
6
+ gem 'webmock'
data/Makefile ADDED
@@ -0,0 +1,5 @@
1
+ build:
2
+ bundle config set --local path 'vendor/bundle'
3
+ bundle install --path vendor/bundle
4
+ bundle exec rake
5
+ gem build gettyimages-api.gemspec
data/README.md CHANGED
@@ -12,11 +12,14 @@ This SDK makes using the Getty Images [API](http://developers.gettyimages.com) e
12
12
  ## Help & Support
13
13
 
14
14
  * [Getty Images API](http://developers.gettyimages.com/)
15
- * [Contact API Support](mailto:apisupport@gettyimages.com)
16
15
  * [Issue Tracker](https://github.com/gettyimages/gettyimages-api_ruby/issues)
17
16
 
18
17
  ## Getting started
19
18
 
19
+ ### Obtain an API Key
20
+
21
+ If you don't already have an API key, fill out and submit the [contact form](http://engage.gettyimages.com/api-contact) to be connected to our Sales team.
22
+
20
23
  ### Installing the ruby gem package
21
24
 
22
25
  The SDK is available as a [ruby gem](https://rubygems.org/gems/gettyimages-api) package. Install in your workspace with:
@@ -152,7 +155,7 @@ _Source code is only needed if you would like to contribute to the project. Othe
152
155
 
153
156
  ### Requirements
154
157
 
155
- - Ruby version >= 2.4
158
+ - Ruby version >= 2.5
156
159
  - [Bundler](http://bundler.io)
157
160
 
158
161
  Install bundler and all dependencies
@@ -1,3 +1,3 @@
1
1
  module GettyImagesApi
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gettyimages-api
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
  - Getty Images
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-10 00:00:00.000000000 Z
11
+ date: 2021-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -45,12 +45,15 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - ".github/workflows/build.yml"
49
+ - ".github/workflows/publish.yml"
48
50
  - ".gitignore"
49
51
  - ".vscode/launch.json"
50
52
  - ".vscode/tasks.json"
51
53
  - Gemfile
52
54
  - Gemfile.lock
53
55
  - LICENSE
56
+ - Makefile
54
57
  - README.md
55
58
  - Rakefile
56
59
  - gettyimages-api.gemspec
@@ -91,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
94
  version: '0'
92
95
  requirements: []
93
96
  rubyforge_project:
94
- rubygems_version: 2.7.7
97
+ rubygems_version: 2.7.6.3
95
98
  signing_key:
96
99
  specification_version: 4
97
100
  summary: Getty Images API SDK