pocket-ruby 0.0.3 → 0.0.8

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: 557b74f314ae6f79c561a58668abda58bd81a29a2f761179665937add4c44981
4
+ data.tar.gz: a9d7663dfefca438432ca578fac028a88e5e2e718dd1ce76f5b4a15c75a748b1
5
+ SHA512:
6
+ metadata.gz: a9f4da13bca1a90085ce1292e44663a277fe78d1892053fea3c596694150d67aedf1d437d9305a8e435c3cd6a43a0f65beb771f4880f574352f3eb82ff5381bf
7
+ data.tar.gz: '0866d752ee21a843f6c91c0f46241baaf68ebcb4be49cf02b2591eb245a2342395a4520486fd2275efe3213c292c230599d96eed1e78271b3a6992079d522ba4'
@@ -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
@@ -1,13 +1,18 @@
1
1
  *.gem
2
2
  *.rbc
3
- .DS_Store
4
3
  .bundle
5
- .rvmrc
6
- .yardoc
7
- .rake_tasks~
4
+ .config
5
+ coverage
6
+ InstalledFiles
7
+ lib/bundler/man
8
+ pkg
9
+ rdoc
10
+ spec/reports
11
+ test/tmp
12
+ test/version_tmp
13
+ tmp
8
14
  Gemfile.lock
9
- coverage/*
10
- doc/*
11
- log/*
12
- pkg/*
13
- .idea/*
15
+ # YARD artifacts
16
+ .yardoc
17
+ _yardoc
18
+ doc/
data/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.0.8] - 2021-03-31
4
+
5
+ - Fix Ruby warnings ([#32](https://github.com/turadg/pocket-ruby/pull/32))
6
+ - Remove unused Hashie dependency ([#31](https://github.com/turadg/pocket-ruby/pull/31))
7
+
8
+ ## [0.0.7] - 2021-03-29
9
+
10
+ - Relax `faraday_middleware` version constraint ([#25](https://github.com/turadg/pocket-ruby/pull/25))
data/README.md ADDED
@@ -0,0 +1,21 @@
1
+ pocket-ruby
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,13 +1,13 @@
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
 
7
7
  CALLBACK_URL = "http://localhost:4567/oauth/callback"
8
8
 
9
9
  Pocket.configure do |config|
10
- config.consumer_key = <http://getpocket.com/developer/apps/>
10
+ config.consumer_key = '10188-3565cd04d1464e6d0e64b67f'
11
11
  end
12
12
 
13
13
  get '/reset' do
@@ -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>'
@@ -31,36 +31,37 @@ end
31
31
 
32
32
  get "/oauth/connect" do
33
33
  puts "OAUTH CONNECT"
34
- puts "session: #{session}"
35
34
  session[:code] = Pocket.get_code(:redirect_uri => CALLBACK_URL)
36
- puts "code in connect session: #{session[:code]}"
37
35
  new_url = Pocket.authorize_url(:code => session[:code], :redirect_uri => CALLBACK_URL)
38
36
  puts "new_url: #{new_url}"
37
+ puts "session: #{session}"
39
38
  redirect new_url
40
39
  end
41
40
 
42
41
  get "/oauth/callback" do
43
42
  puts "OAUTH CALLBACK"
44
- puts "session: #{session}"
45
43
  puts "request.url: #{request.url}"
46
44
  puts "request.body: #{request.body.read}"
47
- puts "code in callback session: #{session[:code]}"
48
- puts "code in callback session: #{session[:code]}"
49
- session[:code] = session[:code] if session[:code] == "ef0a7115-e3f2-a253-1147-a16a32"
50
- access_token = Pocket.get_access_token(session[:code], :redirect_uri => CALLBACK_URL)
51
- 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]
52
+ puts "session: #{session}"
52
53
  redirect "/"
53
54
  end
54
55
 
55
56
  get '/add' do
56
57
  client = Pocket.client(:access_token => session[:access_token])
57
- info = client.add :url => 'http://geknowm.com'
58
+ info = client.add :url => 'http://getpocket.com'
58
59
  "<pre>#{info}</pre>"
59
60
  end
60
61
 
61
62
  get "/retrieve" do
62
63
  client = Pocket.client(:access_token => session[:access_token])
63
- info = client.retrieve :detailType => :complete
64
+ info = client.retrieve(:detailType => :complete, :count => 1)
64
65
 
65
66
  # html = "<h1>#{user.username}'s recent photos</h1>"
66
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={})
@@ -3,8 +3,8 @@ module Pocket
3
3
  # http://getpocket.com/developer/docs/v3/modify
4
4
  module Modify
5
5
  # required params: actions, consumer_key, access_token
6
- def modify params
7
- response = connection.post("/v3/send", params)
6
+ def modify actions
7
+ response = connection.post("/v3/send", {actions: actions})
8
8
  response.body
9
9
  end
10
10
  end
@@ -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.3'.freeze unless defined?(::Pocket::VERSION)
2
+ VERSION = '0.0.8'
3
3
  end
data/pocket-ruby.gemspec CHANGED
@@ -2,28 +2,26 @@
2
2
  require File.expand_path('../lib/pocket/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.add_development_dependency('rspec', '~> 2.4')
6
- s.add_development_dependency('webmock', '~> 1.6')
7
- s.add_development_dependency('bluecloth', '~> 2.0.11')
8
5
  s.add_development_dependency('sinatra', '~> 1.3.3')
9
- s.add_development_dependency('pry', '~> 0.9.10')
10
6
  s.add_development_dependency('multi_xml')
11
- s.add_runtime_dependency('faraday', ['>= 0.7', '< 0.9'])
12
- 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')
13
11
  s.add_runtime_dependency('multi_json', '>= 1.0.3', '~> 1.0')
14
12
  s.add_runtime_dependency('hashie', '>= 0.4.0')
15
- s.authors = ["Turadg Aleahmad"]
16
- s.description = %q{A Ruby wrapper for the Pocket REST and Search APIs}
17
- s.email = ['turadg@aleahmad.net']
13
+ s.authors = ["Turadg Aleahmad","Jason Ng PT", "Andy Waite"]
14
+ s.description = %q{A Ruby wrapper for the Pocket API v3 (Add, Modify and Retrieve)}
15
+ s.email = ['turadg@aleahmad.net',"me@jasonngpt.com"]
18
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
17
  s.files = `git ls-files`.split("\n")
20
- s.homepage = 'https://github.com/Geknowm/pocket-ruby'
18
+ s.homepage = 'https://github.com/turadg/pocket-ruby'
21
19
  s.name = 'pocket-ruby'
22
20
  s.platform = Gem::Platform::RUBY
23
21
  s.require_paths = ['lib']
24
22
  s.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if s.respond_to? :required_rubygems_version=
25
23
  s.rubyforge_project = s.name
26
- s.summary = %q{Ruby wrapper for the Pocket API}
24
+ s.summary = %q{Ruby wrapper for the Pocket API v3}
27
25
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
28
- s.version = Pocket::VERSION.dup
26
+ s.version = Pocket::VERSION
29
27
  end
@@ -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,205 +1,156 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pocket-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.8
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: 2012-12-10 00:00:00.000000000 Z
13
+ date: 2021-04-01 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
- name: rspec
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '2.4'
22
- type: :development
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: '2.4'
30
- - !ruby/object:Gem::Dependency
31
- name: webmock
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: '1.6'
38
- type: :development
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: '1.6'
46
- - !ruby/object:Gem::Dependency
47
- name: bluecloth
16
+ name: sinatra
48
17
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
18
  requirements:
51
- - - ~>
19
+ - - "~>"
52
20
  - !ruby/object:Gem::Version
53
- version: 2.0.11
21
+ version: 1.3.3
54
22
  type: :development
55
23
  prerelease: false
56
24
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
25
  requirements:
59
- - - ~>
26
+ - - "~>"
60
27
  - !ruby/object:Gem::Version
61
- version: 2.0.11
28
+ version: 1.3.3
62
29
  - !ruby/object:Gem::Dependency
63
- name: sinatra
30
+ name: multi_xml
64
31
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
32
  requirements:
67
- - - ~>
33
+ - - ">="
68
34
  - !ruby/object:Gem::Version
69
- version: 1.3.3
35
+ version: '0'
70
36
  type: :development
71
37
  prerelease: false
72
38
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
39
  requirements:
75
- - - ~>
40
+ - - ">="
76
41
  - !ruby/object:Gem::Version
77
- version: 1.3.3
42
+ version: '0'
78
43
  - !ruby/object:Gem::Dependency
79
- name: pry
44
+ name: rake
80
45
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
46
  requirements:
83
- - - ~>
47
+ - - ">="
84
48
  - !ruby/object:Gem::Version
85
- version: 0.9.10
49
+ version: '0'
86
50
  type: :development
87
51
  prerelease: false
88
52
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
53
  requirements:
91
- - - ~>
54
+ - - ">="
92
55
  - !ruby/object:Gem::Version
93
- version: 0.9.10
56
+ version: '0'
94
57
  - !ruby/object:Gem::Dependency
95
- name: multi_xml
58
+ name: test-unit
96
59
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
60
  requirements:
99
- - - ! '>='
61
+ - - ">="
100
62
  - !ruby/object:Gem::Version
101
63
  version: '0'
102
64
  type: :development
103
65
  prerelease: false
104
66
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
67
  requirements:
107
- - - ! '>='
68
+ - - ">="
108
69
  - !ruby/object:Gem::Version
109
70
  version: '0'
110
71
  - !ruby/object:Gem::Dependency
111
72
  name: faraday
112
73
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
74
  requirements:
115
- - - ! '>='
75
+ - - ">="
116
76
  - !ruby/object:Gem::Version
117
77
  version: '0.7'
118
- - - <
119
- - !ruby/object:Gem::Version
120
- version: '0.9'
121
78
  type: :runtime
122
79
  prerelease: false
123
80
  version_requirements: !ruby/object:Gem::Requirement
124
- none: false
125
81
  requirements:
126
- - - ! '>='
82
+ - - ">="
127
83
  - !ruby/object:Gem::Version
128
84
  version: '0.7'
129
- - - <
130
- - !ruby/object:Gem::Version
131
- version: '0.9'
132
85
  - !ruby/object:Gem::Dependency
133
86
  name: faraday_middleware
134
87
  requirement: !ruby/object:Gem::Requirement
135
- none: false
136
88
  requirements:
137
- - - ~>
89
+ - - ">="
138
90
  - !ruby/object:Gem::Version
139
- version: '0.8'
91
+ version: '0'
140
92
  type: :runtime
141
93
  prerelease: false
142
94
  version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
95
  requirements:
145
- - - ~>
96
+ - - ">="
146
97
  - !ruby/object:Gem::Version
147
- version: '0.8'
98
+ version: '0'
148
99
  - !ruby/object:Gem::Dependency
149
100
  name: multi_json
150
101
  requirement: !ruby/object:Gem::Requirement
151
- none: false
152
102
  requirements:
153
- - - ! '>='
154
- - !ruby/object:Gem::Version
155
- version: 1.0.3
156
- - - ~>
103
+ - - "~>"
157
104
  - !ruby/object:Gem::Version
158
105
  version: '1.0'
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: 1.0.3
159
109
  type: :runtime
160
110
  prerelease: false
161
111
  version_requirements: !ruby/object:Gem::Requirement
162
- none: false
163
112
  requirements:
164
- - - ! '>='
165
- - !ruby/object:Gem::Version
166
- version: 1.0.3
167
- - - ~>
113
+ - - "~>"
168
114
  - !ruby/object:Gem::Version
169
115
  version: '1.0'
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: 1.0.3
170
119
  - !ruby/object:Gem::Dependency
171
120
  name: hashie
172
121
  requirement: !ruby/object:Gem::Requirement
173
- none: false
174
122
  requirements:
175
- - - ! '>='
123
+ - - ">="
176
124
  - !ruby/object:Gem::Version
177
125
  version: 0.4.0
178
126
  type: :runtime
179
127
  prerelease: false
180
128
  version_requirements: !ruby/object:Gem::Requirement
181
- none: false
182
129
  requirements:
183
- - - ! '>='
130
+ - - ">="
184
131
  - !ruby/object:Gem::Version
185
132
  version: 0.4.0
186
- description: A Ruby wrapper for the Pocket REST and Search APIs
133
+ description: A Ruby wrapper for the Pocket API v3 (Add, Modify and Retrieve)
187
134
  email:
188
135
  - turadg@aleahmad.net
136
+ - me@jasonngpt.com
189
137
  executables: []
190
138
  extensions: []
191
139
  extra_rdoc_files: []
192
140
  files:
193
- - .gitignore
194
- - .rspec
195
- - .yardopts
141
+ - ".github/workflows/changelog-checker.yml"
142
+ - ".github/workflows/tests.yml"
143
+ - ".gitignore"
144
+ - ".yardopts"
145
+ - CHANGELOG.md
196
146
  - Gemfile
197
147
  - LICENSE.md
148
+ - README.md
198
149
  - Rakefile
199
150
  - demo-server.rb
200
151
  - lib/faraday/pocket_oauth.rb
201
152
  - lib/faraday/raise_pocket_error.rb
202
- - lib/pocket.rb
153
+ - lib/pocket-ruby.rb
203
154
  - lib/pocket/api.rb
204
155
  - lib/pocket/client.rb
205
156
  - lib/pocket/client/add.rb
@@ -211,28 +162,30 @@ files:
211
162
  - lib/pocket/oauth.rb
212
163
  - lib/pocket/version.rb
213
164
  - pocket-ruby.gemspec
214
- homepage: https://github.com/Geknowm/pocket-ruby
165
+ - test/pocket/version_test.rb
166
+ - test/test_helper.rb
167
+ homepage: https://github.com/turadg/pocket-ruby
215
168
  licenses: []
216
- post_install_message:
169
+ metadata: {}
170
+ post_install_message:
217
171
  rdoc_options: []
218
172
  require_paths:
219
173
  - lib
220
174
  required_ruby_version: !ruby/object:Gem::Requirement
221
- none: false
222
175
  requirements:
223
- - - ! '>='
176
+ - - ">="
224
177
  - !ruby/object:Gem::Version
225
178
  version: '0'
226
179
  required_rubygems_version: !ruby/object:Gem::Requirement
227
- none: false
228
180
  requirements:
229
- - - ! '>='
181
+ - - ">="
230
182
  - !ruby/object:Gem::Version
231
183
  version: 1.3.6
232
184
  requirements: []
233
- rubyforge_project: pocket-ruby
234
- rubygems_version: 1.8.24
235
- signing_key:
236
- specification_version: 3
237
- summary: Ruby wrapper for the Pocket API
238
- test_files: []
185
+ rubygems_version: 3.0.3
186
+ signing_key:
187
+ specification_version: 4
188
+ summary: Ruby wrapper for the Pocket API v3
189
+ test_files:
190
+ - test/pocket/version_test.rb
191
+ - test/test_helper.rb
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --color
2
- --format=nested
3
- --backtrace