chronicle-pinboard 0.1.0 → 0.1.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 +4 -4
- data/README.md +5 -3
- data/chronicle-pinboard.gemspec +1 -1
- data/lib/chronicle/pinboard/pinboard_extractor.rb +2 -0
- data/lib/chronicle/pinboard/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 290728f6a7dcff698aba9ba5e636e6da3ee0074d073926ade6a6d8841fbec859
|
|
4
|
+
data.tar.gz: 1a8e7e70b604e7c71b37e05cd95dbd001459b7c1682ae1e03d97146a50db48fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 866eb3508e2aa678690a55b70d40ce5d6d6d64b3b8fe036fcd2e77f911ff4f86952e033eaabb33e8b68b0261540f6e1b453490021078a3993b14979dd62903a7
|
|
7
|
+
data.tar.gz: 8dacd215171fb01db26c7d8a9956237f1af07625d58f167030ae3808898b06c42e78f183e0b4db348b6e7b84682ead9d47f271463210585a565c044923c5236d
|
data/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Chronicle::Pinboard
|
|
2
|
+
[](https://badge.fury.io/rb/chronicle-pinboard)
|
|
2
3
|
|
|
3
|
-
Pinboard plugin for [chronicle-etl](https://github.com/chronicle-app/chronicle-etl)
|
|
4
|
+
Extract your Pinboard bookmarks using the command line with this plugin for [chronicle-etl](https://github.com/chronicle-app/chronicle-etl)
|
|
4
5
|
|
|
5
6
|
## Available Connectors
|
|
6
7
|
### Extractors
|
|
@@ -15,7 +16,8 @@ Pinboard plugin for [chronicle-etl](https://github.com/chronicle-app/chronicle-e
|
|
|
15
16
|
gem install chronicle-etl
|
|
16
17
|
chronicle-etl connectors:install pinboard
|
|
17
18
|
|
|
18
|
-
# get PINBOARD_ACCESS_TOKEN from https://pinboard.in/settings/password
|
|
19
|
-
|
|
19
|
+
# You can get PINBOARD_ACCESS_TOKEN from https://pinboard.in/settings/password
|
|
20
|
+
# Extract pinboard bookmarks from the last 10 days
|
|
21
|
+
chronicle-etl --extractor pinboard --extractor-opts access_token:$PINBOARD_ACCESS_TOKEN --since 10d
|
|
20
22
|
```
|
|
21
23
|
|
data/chronicle-pinboard.gemspec
CHANGED
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
|
36
36
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
37
37
|
spec.require_paths = ["lib"]
|
|
38
38
|
|
|
39
|
-
spec.add_dependency "chronicle-etl", "~> 0.
|
|
39
|
+
spec.add_dependency "chronicle-etl", "~> 0.5"
|
|
40
40
|
spec.add_dependency "faraday", "~> 2.2"
|
|
41
41
|
|
|
42
42
|
spec.add_development_dependency "bundler", "~> 2.3"
|
|
@@ -12,6 +12,8 @@ module Chronicle
|
|
|
12
12
|
setting :access_token, required: true
|
|
13
13
|
|
|
14
14
|
def prepare
|
|
15
|
+
raise(Chronicle::ETL::ExtractionError, "Access token is missing") if @config.access_token.empty?
|
|
16
|
+
|
|
15
17
|
@bookmarks = load_bookmarks
|
|
16
18
|
@username = @config.access_token.split(":").first
|
|
17
19
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chronicle-pinboard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Louis
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-03-
|
|
11
|
+
date: 2022-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chronicle-etl
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0.
|
|
19
|
+
version: '0.5'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0.
|
|
26
|
+
version: '0.5'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: faraday
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -106,7 +106,7 @@ metadata:
|
|
|
106
106
|
homepage_uri: https://github.com/chronicle-app/chronicle-pinboard
|
|
107
107
|
source_code_uri: https://github.com/chronicle-app/chronicle-pinboard
|
|
108
108
|
changelog_uri: https://github.com/chronicle-app/chronicle-pinboard
|
|
109
|
-
post_install_message:
|
|
109
|
+
post_install_message:
|
|
110
110
|
rdoc_options: []
|
|
111
111
|
require_paths:
|
|
112
112
|
- lib
|
|
@@ -121,8 +121,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
121
121
|
- !ruby/object:Gem::Version
|
|
122
122
|
version: '0'
|
|
123
123
|
requirements: []
|
|
124
|
-
rubygems_version: 3.
|
|
125
|
-
signing_key:
|
|
124
|
+
rubygems_version: 3.3.3
|
|
125
|
+
signing_key:
|
|
126
126
|
specification_version: 4
|
|
127
127
|
summary: Pinboard importer for Chronicle
|
|
128
128
|
test_files: []
|