pocket-ruby 0.0.4 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 98d5e4c5d566026c6e2ee7a7fc51e955de4ee56fe79bf20b93e760466ac91595
4
+ data.tar.gz: 3642f95d676252dc502437fb9be6ae5b797d7c5499ce2292cc3c04cedaca5941
5
+ SHA512:
6
+ metadata.gz: e98bec08220f3f69c841490dd3d9c8a7524a6cb403069df134f951b84ee8fffa4515cef25d2eb67c4f12d61ca6f76a808fd904166fd3ee4e14d0e909d06a7e66
7
+ data.tar.gz: f759d86eb1eb79744ecb4c9b9aa422f268db6836f4c1773e83d4b8815680445209e7474463ea3b52116debdec7c44d8ca204efe24d989d9c8e40f7ae42875030
@@ -0,0 +1,19 @@
1
+ name: changelog-checker
2
+ on:
3
+ pull_request:
4
+ types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
5
+ branches:
6
+ - master
7
+ jobs:
8
+ build:
9
+ name: Check Actions
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v1
13
+ - name: Changelog check
14
+ uses: Zomzog/changelog-checker@v1.2.0
15
+ with:
16
+ fileName: CHANGELOG.md
17
+ checksNotification: Simple
18
+ env:
19
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,16 @@
1
+ name: Ruby
2
+
3
+ on: [push,pull_request]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Set up Ruby
11
+ uses: ruby/setup-ruby@v1
12
+ with:
13
+ ruby-version: 2.6.6
14
+ bundler-cache: true
15
+ - name: Run the default task
16
+ run: bundle exec rake
data/.gitignore CHANGED
@@ -11,7 +11,6 @@ spec/reports
11
11
  test/tmp
12
12
  test/version_tmp
13
13
  tmp
14
-
15
14
  # YARD artifacts
16
15
  .yardoc
17
16
  _yardoc
data/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.0.9] - 2021-04-01
4
+
5
+ - Actually remove unused Hashie dependency ([#35](https://github.com/turadg/pocket-ruby/pull/35))
6
+
7
+ ## [0.0.8] - 2021-03-31
8
+
9
+ - Fix Ruby warnings ([#32](https://github.com/turadg/pocket-ruby/pull/32))
10
+ - Remove unused Hashie dependency ([#31](https://github.com/turadg/pocket-ruby/pull/31))
11
+
12
+ ## [0.0.7] - 2021-03-29
13
+
14
+ - Relax `faraday_middleware` version constraint ([#25](https://github.com/turadg/pocket-ruby/pull/25))
data/Gemfile.lock CHANGED
@@ -1,62 +1,48 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pocket-ruby (0.0.3)
5
- faraday (>= 0.7, < 0.9)
6
- faraday_middleware (~> 0.8)
7
- hashie (>= 0.4.0)
4
+ pocket-ruby (0.0.9)
5
+ faraday (>= 0.7)
6
+ faraday_middleware
8
7
  multi_json (~> 1.0, >= 1.0.3)
9
8
 
10
9
  GEM
11
10
  remote: http://rubygems.org/
12
11
  specs:
13
- addressable (2.3.2)
14
- bluecloth (2.0.11)
15
- coderay (1.0.8)
16
- crack (0.3.1)
17
- diff-lcs (1.1.3)
18
- faraday (0.8.4)
19
- multipart-post (~> 1.1)
20
- faraday_middleware (0.9.0)
21
- faraday (>= 0.7.4, < 0.9)
22
- hashie (1.2.0)
23
- method_source (0.8.1)
24
- multi_json (1.3.7)
25
- multi_xml (0.5.1)
26
- multipart-post (1.1.5)
27
- pry (0.9.10)
28
- coderay (~> 1.0.5)
29
- method_source (~> 0.8)
30
- slop (~> 3.3.1)
31
- rack (1.4.1)
32
- rack-protection (1.2.0)
12
+ faraday (1.3.0)
13
+ faraday-net_http (~> 1.0)
14
+ multipart-post (>= 1.2, < 3)
15
+ ruby2_keywords
16
+ faraday-net_http (1.0.1)
17
+ faraday_middleware (1.0.0)
18
+ faraday (~> 1.0)
19
+ multi_json (1.15.0)
20
+ multi_xml (0.6.0)
21
+ multipart-post (2.1.1)
22
+ power_assert (2.0.0)
23
+ rack (1.6.13)
24
+ rack-protection (1.5.5)
33
25
  rack
34
- rspec (2.12.0)
35
- rspec-core (~> 2.12.0)
36
- rspec-expectations (~> 2.12.0)
37
- rspec-mocks (~> 2.12.0)
38
- rspec-core (2.12.0)
39
- rspec-expectations (2.12.0)
40
- diff-lcs (~> 1.1.3)
41
- rspec-mocks (2.12.0)
42
- sinatra (1.3.3)
43
- rack (~> 1.3, >= 1.3.6)
44
- rack-protection (~> 1.2)
26
+ rake (13.0.3)
27
+ ruby2_keywords (0.0.4)
28
+ sinatra (1.3.6)
29
+ rack (~> 1.4)
30
+ rack-protection (~> 1.3)
45
31
  tilt (~> 1.3, >= 1.3.3)
46
- slop (3.3.3)
47
- tilt (1.3.3)
48
- webmock (1.9.0)
49
- addressable (>= 2.2.7)
50
- crack (>= 0.1.7)
32
+ test-unit (3.4.0)
33
+ power_assert
34
+ tilt (1.4.1)
51
35
 
52
36
  PLATFORMS
53
- ruby
37
+ x86_64-darwin-19
38
+ x86_64-linux
54
39
 
55
40
  DEPENDENCIES
56
- bluecloth (~> 2.0.11)
57
41
  multi_xml
58
42
  pocket-ruby!
59
- pry (~> 0.9.10)
60
- rspec (~> 2.4)
43
+ rake
61
44
  sinatra (~> 1.3.3)
62
- webmock (~> 1.6)
45
+ test-unit
46
+
47
+ BUNDLED WITH
48
+ 2.2.8
data/README.md CHANGED
@@ -1,2 +1,21 @@
1
1
  pocket-ruby
2
- ===========
2
+ ===========
3
+
4
+ [![Code Climate](https://codeclimate.com/github/turadg/pocket-ruby.png)](https://codeclimate.com/github/turadg/pocket-ruby) [![Gem Version](https://badge.fury.io/rb/pocket-ruby.png)](http://badge.fury.io/rb/pocket-ruby)
5
+
6
+ Ruby API for v3 of the [Pocket API](http://getpocket.com/developer/docs/overview) (formerly Read It Later)
7
+
8
+ # Usage
9
+
10
+ Just clone the repo here and refer to the demo-server.rb file for examples on how to interact with the Pocket API.
11
+
12
+ ```sh
13
+ git clone
14
+ cd pocket-ruby
15
+ bundle install
16
+ ruby demo-server.rb
17
+ ```
18
+
19
+ Pocket-Ruby can be installed via the gem, ```gem install pocket-ruby```
20
+
21
+ Or via bundler, ```gem 'pocket-ruby'```
data/Rakefile CHANGED
@@ -1,10 +1,14 @@
1
1
  require 'bundler'
2
2
  Bundler::GemHelper.install_tasks
3
3
 
4
- require 'rspec/core/rake_task'
5
- RSpec::Core::RakeTask.new(:spec)
4
+ require "rake/testtask"
5
+ Rake::TestTask.new(:test) do |t|
6
+ t.libs << "test"
7
+ t.libs << "lib"
8
+ t.test_files = FileList["test/**/*_test.rb"]
9
+ end
6
10
 
7
- task :default => :spec
11
+ task :default => :test
8
12
 
9
13
  namespace :doc do
10
14
  begin
data/demo-server.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require "sinatra"
2
2
 
3
- require "./lib/pocket.rb"
3
+ require "./lib/pocket-ruby.rb"
4
4
 
5
5
  enable :sessions
6
6
 
@@ -18,11 +18,11 @@ end
18
18
  get "/" do
19
19
  puts "GET /"
20
20
  puts "session: #{session}"
21
-
21
+
22
22
  if session[:access_token]
23
23
  '
24
- <a href="/add?url=http://geknowm.com">Add Geknowm</a>
25
- <a href="/retrieve">Retrieve items</a>
24
+ <a href="/add?url=http://getpocket.com">Add Pocket Homepage</a>
25
+ <a href="/retrieve">Retrieve single item</a>
26
26
  '
27
27
  else
28
28
  '<a href="/oauth/connect">Connect with Pocket</a>'
@@ -42,21 +42,26 @@ get "/oauth/callback" do
42
42
  puts "OAUTH CALLBACK"
43
43
  puts "request.url: #{request.url}"
44
44
  puts "request.body: #{request.body.read}"
45
- access_token = Pocket.get_access_token(session[:code], :redirect_uri => CALLBACK_URL)
46
- session[:access_token] = access_token
45
+ result = Pocket.get_result(session[:code], :redirect_uri => CALLBACK_URL)
46
+ session[:access_token] = result['access_token']
47
+ puts result['access_token']
48
+ puts result['username']
49
+ # Alternative method to get the access token directly
50
+ #session[:access_token] = Pocket.get_access_token(session[:code])
51
+ puts session[:access_token]
47
52
  puts "session: #{session}"
48
53
  redirect "/"
49
54
  end
50
55
 
51
56
  get '/add' do
52
57
  client = Pocket.client(:access_token => session[:access_token])
53
- info = client.add :url => 'http://geknowm.com'
58
+ info = client.add :url => 'http://getpocket.com'
54
59
  "<pre>#{info}</pre>"
55
60
  end
56
61
 
57
62
  get "/retrieve" do
58
63
  client = Pocket.client(:access_token => session[:access_token])
59
- info = client.retrieve :detailType => :complete
64
+ info = client.retrieve(:detailType => :complete, :count => 1)
60
65
 
61
66
  # html = "<h1>#{user.username}'s recent photos</h1>"
62
67
  # for media_item in client.user_recent_media
@@ -26,7 +26,7 @@ module Faraday
26
26
  end
27
27
 
28
28
  def response_values(env)
29
- {:status => env.status, :headers => env.response_headers, :body => env.body}
29
+ {:status => env[:status], :headers => env[:response_headers], :body => env[:body]}
30
30
  end
31
31
  end
32
32
  end
@@ -23,4 +23,4 @@ module Pocket
23
23
  def self.respond_to?(method)
24
24
  return client.respond_to?(method) || super
25
25
  end
26
- end
26
+ end
data/lib/pocket/api.rb CHANGED
@@ -5,7 +5,7 @@ module Pocket
5
5
  # @private
6
6
  class API
7
7
  # @private
8
- attr_accessor *Configuration::VALID_OPTIONS_KEYS
8
+ attr_accessor(*Configuration::VALID_OPTIONS_KEYS)
9
9
 
10
10
  # Creates a new API
11
11
  def initialize(options={})
@@ -10,6 +10,7 @@ module Pocket
10
10
  :consumer_key,
11
11
  :access_token,
12
12
  :endpoint,
13
+ :redirect_uri,
13
14
  :format,
14
15
  :user_agent,
15
16
  :proxy
@@ -52,7 +53,7 @@ module Pocket
52
53
  DEFAULT_USER_AGENT = "Pocket Ruby Gem #{Pocket::VERSION}".freeze
53
54
 
54
55
  # @private
55
- attr_accessor *VALID_OPTIONS_KEYS
56
+ attr_accessor(*VALID_OPTIONS_KEYS)
56
57
 
57
58
  # When this module is extended, set all configuration options to their default values
58
59
  def self.extended(base)
@@ -77,9 +78,10 @@ module Pocket
77
78
  self.consumer_key = DEFAULT_CONSUMER_KEY
78
79
  self.access_token = DEFAULT_ACCESS_TOKEN
79
80
  self.endpoint = DEFAULT_ENDPOINT
81
+ self.redirect_uri = DEFAULT_REDIRECT_URI
80
82
  self.format = DEFAULT_FORMAT
81
83
  self.user_agent = DEFAULT_USER_AGENT
82
84
  self.proxy = DEFAULT_PROXY
83
85
  end
84
86
  end
85
- end
87
+ end
data/lib/pocket/oauth.rb CHANGED
@@ -4,8 +4,9 @@ module Pocket
4
4
  # Return URL for OAuth authorization
5
5
  def authorize_url(options={})
6
6
  params = access_token_params.merge(options)
7
+ params.delete(:consumer_key) # shouldn't be exposed publically
7
8
  # Pocket renames `code` to `request_token` for some reason in this call
8
- params[:request_token] = params[:code]
9
+ params[:request_token] ||= params.delete(:code)
9
10
  connection.build_url("/auth/authorize", params).to_s
10
11
  end
11
12
 
@@ -14,24 +15,30 @@ module Pocket
14
15
  params = access_token_params.merge(options)
15
16
  response = connection.post 'oauth/request', params
16
17
  results = Hash[URI.decode_www_form(response.body)]
17
- code = results['code']
18
+ results['code']
18
19
  end
19
20
 
20
21
  # Return an access token from authorization
21
22
  def get_access_token(code, options={})
22
- params = access_token_params.merge(options)
23
-
24
23
  params = access_token_params.merge(:code => code).merge(options)
25
24
  response = connection.post 'oauth/authorize', params
26
25
  results = Hash[URI.decode_www_form(response.body)]
27
- access_token = results['access_token']
26
+ results['access_token']
27
+ end
28
+
29
+ # Return result from authorization
30
+ def get_result(code, options={})
31
+ params = access_token_params.merge(:code => code).merge(options)
32
+ response = connection.post 'oauth/authorize', params
33
+ Hash[URI.decode_www_form(response.body)]
28
34
  end
29
35
 
30
36
  private
31
37
 
32
38
  def access_token_params
33
39
  {
34
- :consumer_key => consumer_key
40
+ :consumer_key => consumer_key,
41
+ :redirect_uri => redirect_uri
35
42
  }
36
43
  end
37
44
  end
@@ -1,3 +1,3 @@
1
1
  module Pocket
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.9'
3
3
  end
data/pocket-ruby.gemspec CHANGED
@@ -4,16 +4,17 @@ require File.expand_path('../lib/pocket/version', __FILE__)
4
4
  Gem::Specification.new do |s|
5
5
  s.add_development_dependency('sinatra', '~> 1.3.3')
6
6
  s.add_development_dependency('multi_xml')
7
- s.add_runtime_dependency('faraday', ['>= 0.7', '< 0.9'])
8
- s.add_runtime_dependency('faraday_middleware', '~> 0.8')
7
+ s.add_development_dependency('rake')
8
+ s.add_development_dependency("test-unit")
9
+ s.add_runtime_dependency('faraday', ['>= 0.7'])
10
+ s.add_runtime_dependency('faraday_middleware')
9
11
  s.add_runtime_dependency('multi_json', '>= 1.0.3', '~> 1.0')
10
- s.add_runtime_dependency('hashie', '>= 0.4.0')
11
- s.authors = ["Turadg Aleahmad"]
12
+ s.authors = ["Turadg Aleahmad","Jason Ng PT", "Andy Waite"]
12
13
  s.description = %q{A Ruby wrapper for the Pocket API v3 (Add, Modify and Retrieve)}
13
- s.email = ['turadg@aleahmad.net']
14
+ s.email = ['turadg@aleahmad.net',"me@jasonngpt.com"]
14
15
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
15
16
  s.files = `git ls-files`.split("\n")
16
- s.homepage = 'https://github.com/Geknowm/pocket-ruby'
17
+ s.homepage = 'https://github.com/turadg/pocket-ruby'
17
18
  s.name = 'pocket-ruby'
18
19
  s.platform = Gem::Platform::RUBY
19
20
  s.require_paths = ['lib']
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module Pocket
4
+ class VersionTest < Test::Unit::TestCase
5
+ def test_specifies_a_version
6
+ assert Pocket::VERSION
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.unshift File.expand_path("../lib", __dir__)
4
+ require "pocket-ruby"
5
+
6
+ require "test-unit"
metadata CHANGED
@@ -1,133 +1,134 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pocket-ruby
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.0.4
4
+ version: 0.0.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Turadg Aleahmad
9
- autorequire:
8
+ - Jason Ng PT
9
+ - Andy Waite
10
+ autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-01-18 00:00:00.000000000 Z
13
+ date: 2021-04-02 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
- version_requirements: !ruby/object:Gem::Requirement
16
+ name: sinatra
17
+ requirement: !ruby/object:Gem::Requirement
16
18
  requirements:
17
- - - ~>
19
+ - - "~>"
18
20
  - !ruby/object:Gem::Version
19
21
  version: 1.3.3
20
- none: false
21
- name: sinatra
22
22
  type: :development
23
23
  prerelease: false
24
- requirement: !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: 1.3.3
29
- none: false
30
29
  - !ruby/object:Gem::Dependency
31
- version_requirements: !ruby/object:Gem::Requirement
30
+ name: multi_xml
31
+ requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ! '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
- none: false
37
- name: multi_xml
38
36
  type: :development
39
37
  prerelease: false
40
- requirement: !ruby/object:Gem::Requirement
38
+ version_requirements: !ruby/object:Gem::Requirement
41
39
  requirements:
42
- - - ! '>='
40
+ - - ">="
43
41
  - !ruby/object:Gem::Version
44
42
  version: '0'
45
- none: false
46
43
  - !ruby/object:Gem::Dependency
44
+ name: rake
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ type: :development
51
+ prerelease: false
47
52
  version_requirements: !ruby/object:Gem::Requirement
48
53
  requirements:
49
- - - ! '>='
54
+ - - ">="
50
55
  - !ruby/object:Gem::Version
51
- version: '0.7'
52
- - - <
56
+ version: '0'
57
+ - !ruby/object:Gem::Dependency
58
+ name: test-unit
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
53
62
  - !ruby/object:Gem::Version
54
- version: '0.9'
55
- none: false
56
- name: faraday
57
- type: :runtime
63
+ version: '0'
64
+ type: :development
58
65
  prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: faraday
59
73
  requirement: !ruby/object:Gem::Requirement
60
74
  requirements:
61
- - - ! '>='
75
+ - - ">="
62
76
  - !ruby/object:Gem::Version
63
77
  version: '0.7'
64
- - - <
65
- - !ruby/object:Gem::Version
66
- version: '0.9'
67
- none: false
68
- - !ruby/object:Gem::Dependency
78
+ type: :runtime
79
+ prerelease: false
69
80
  version_requirements: !ruby/object:Gem::Requirement
70
81
  requirements:
71
- - - ~>
82
+ - - ">="
72
83
  - !ruby/object:Gem::Version
73
- version: '0.8'
74
- none: false
84
+ version: '0.7'
85
+ - !ruby/object:Gem::Dependency
75
86
  name: faraday_middleware
76
- type: :runtime
77
- prerelease: false
78
87
  requirement: !ruby/object:Gem::Requirement
79
88
  requirements:
80
- - - ~>
89
+ - - ">="
81
90
  - !ruby/object:Gem::Version
82
- version: '0.8'
83
- none: false
84
- - !ruby/object:Gem::Dependency
91
+ version: '0'
92
+ type: :runtime
93
+ prerelease: false
85
94
  version_requirements: !ruby/object:Gem::Requirement
86
95
  requirements:
87
- - - ! '>='
88
- - !ruby/object:Gem::Version
89
- version: 1.0.3
90
- - - ~>
96
+ - - ">="
91
97
  - !ruby/object:Gem::Version
92
- version: '1.0'
93
- none: false
98
+ version: '0'
99
+ - !ruby/object:Gem::Dependency
94
100
  name: multi_json
95
- type: :runtime
96
- prerelease: false
97
101
  requirement: !ruby/object:Gem::Requirement
98
102
  requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: 1.0.3
102
- - - ~>
103
+ - - "~>"
103
104
  - !ruby/object:Gem::Version
104
105
  version: '1.0'
105
- none: false
106
- - !ruby/object:Gem::Dependency
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - ! '>='
106
+ - - ">="
110
107
  - !ruby/object:Gem::Version
111
- version: 0.4.0
112
- none: false
113
- name: hashie
108
+ version: 1.0.3
114
109
  type: :runtime
115
110
  prerelease: false
116
- requirement: !ruby/object:Gem::Requirement
111
+ version_requirements: !ruby/object:Gem::Requirement
117
112
  requirements:
118
- - - ! '>='
113
+ - - "~>"
119
114
  - !ruby/object:Gem::Version
120
- version: 0.4.0
121
- none: false
115
+ version: '1.0'
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: 1.0.3
122
119
  description: A Ruby wrapper for the Pocket API v3 (Add, Modify and Retrieve)
123
120
  email:
124
121
  - turadg@aleahmad.net
122
+ - me@jasonngpt.com
125
123
  executables: []
126
124
  extensions: []
127
125
  extra_rdoc_files: []
128
126
  files:
129
- - .gitignore
130
- - .yardopts
127
+ - ".github/workflows/changelog-checker.yml"
128
+ - ".github/workflows/tests.yml"
129
+ - ".gitignore"
130
+ - ".yardopts"
131
+ - CHANGELOG.md
131
132
  - Gemfile
132
133
  - Gemfile.lock
133
134
  - LICENSE.md
@@ -136,7 +137,7 @@ files:
136
137
  - demo-server.rb
137
138
  - lib/faraday/pocket_oauth.rb
138
139
  - lib/faraday/raise_pocket_error.rb
139
- - lib/pocket.rb
140
+ - lib/pocket-ruby.rb
140
141
  - lib/pocket/api.rb
141
142
  - lib/pocket/client.rb
142
143
  - lib/pocket/client/add.rb
@@ -148,29 +149,30 @@ files:
148
149
  - lib/pocket/oauth.rb
149
150
  - lib/pocket/version.rb
150
151
  - pocket-ruby.gemspec
151
- homepage: https://github.com/Geknowm/pocket-ruby
152
+ - test/pocket/version_test.rb
153
+ - test/test_helper.rb
154
+ homepage: https://github.com/turadg/pocket-ruby
152
155
  licenses: []
153
- post_install_message:
156
+ metadata: {}
157
+ post_install_message:
154
158
  rdoc_options: []
155
159
  require_paths:
156
160
  - lib
157
161
  required_ruby_version: !ruby/object:Gem::Requirement
158
162
  requirements:
159
- - - ! '>='
163
+ - - ">="
160
164
  - !ruby/object:Gem::Version
161
165
  version: '0'
162
- none: false
163
166
  required_rubygems_version: !ruby/object:Gem::Requirement
164
167
  requirements:
165
- - - ! '>='
168
+ - - ">="
166
169
  - !ruby/object:Gem::Version
167
170
  version: 1.3.6
168
- none: false
169
171
  requirements: []
170
- rubyforge_project: pocket-ruby
171
- rubygems_version: 1.8.23
172
- signing_key:
173
- specification_version: 3
172
+ rubygems_version: 3.0.3
173
+ signing_key:
174
+ specification_version: 4
174
175
  summary: Ruby wrapper for the Pocket API v3
175
- test_files: []
176
- has_rdoc:
176
+ test_files:
177
+ - test/pocket/version_test.rb
178
+ - test/test_helper.rb