joplin 1.0.1 → 1.0.2

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: 709555c1917e195e956c526a75979ea74deb8f3da829afe0f6d34ab7d074fad5
4
- data.tar.gz: a09ac659f62def224a04adf7766d90231d8034335190dc99402d7b3715a763f3
3
+ metadata.gz: '09242aa0b4f46f7d69424cb3267766eff3178e5a1ab3bc229c2e47b496427db3'
4
+ data.tar.gz: bea1752fa435abab2cb0477bc4565795343cdd50f962128439dee822ac5c29a2
5
5
  SHA512:
6
- metadata.gz: a53a2aae8f8a7c073cbef92668097171a5038357ad8c16c045e01b4336b16b4369abef498ecb0961dfa14b8592be1b34c0998a4da37e3470e602e314d7f01f91
7
- data.tar.gz: 50f3207ad27c7eaa968fa031b4bd3b052c8d58014701f2d64166b8594a753fa9422e03e7ecedb758bdce9f9e11a188e19e8a2046ee493ec0f57e08ee79618bc3
6
+ metadata.gz: 72044c7c29a87bb27257c2cfcb4b04e5f9c06ed6679475b0e305bdba635176535fefcbdf3f27151c3d1498f7762700f0e8e9a3a1263731868963db1879047721
7
+ data.tar.gz: e127bfaf4d7ffc2fb5c20a2d085a5d9eb21921f678976a853f9fcdb3e408696c3f4f29c0cc4db3427720d1d1f5b79d8fdb6be6667db4338fb150c12344d30c90
data/Gemfile CHANGED
@@ -4,3 +4,5 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in joplin.gemspec
6
6
  gemspec
7
+
8
+ gem "pandoc_binary", "~> 3.1"
data/Gemfile.lock CHANGED
@@ -29,6 +29,7 @@ GEM
29
29
  llhttp-ffi (0.4.0)
30
30
  ffi-compiler (~> 1.0)
31
31
  rake (~> 13.0)
32
+ pandoc_binary (3.1.1)
32
33
  public_suffix (5.0.1)
33
34
  rake (13.0.6)
34
35
  rspec (3.12.0)
@@ -56,6 +57,7 @@ PLATFORMS
56
57
  DEPENDENCIES
57
58
  bundler (~> 2.0)
58
59
  joplin!
60
+ pandoc_binary (~> 3.1)
59
61
  rake (~> 13.0)
60
62
  rspec (~> 3.12.0)
61
63
 
data/Makefile CHANGED
@@ -1,3 +1,5 @@
1
+ foo:
2
+
1
3
  test:
2
4
  rake spec
3
5
 
@@ -6,6 +8,7 @@ build:
6
8
 
7
9
  push: clean build
8
10
  gem push *gem
11
+ git tag `grep VERSION lib/joplin/version.rb | sed -e 's/^.*VERSION = "\(.*\)"/\1/'`
9
12
 
10
13
  clean:
11
14
  rm -f *gem
data/bin/joplin CHANGED
@@ -88,7 +88,6 @@ class MyCLI < Thor
88
88
  DESC
89
89
 
90
90
  def epub(id)
91
- abort 'You need to install pandoc and have it in your path' unless has_exec? 'pandoc'
92
91
  build_note = Joplin::Note.new(id:)
93
92
  note = build(id)
94
93
  note.write
@@ -142,10 +141,6 @@ class MyCLI < Thor
142
141
  yml
143
142
  end
144
143
 
145
- def has_exec?(command)
146
- !`which #{command}`.empty?
147
- end
148
-
149
144
  def token
150
145
  Joplin.token = Joplin.get_token || options[:token]
151
146
  return if Joplin.token
@@ -1,3 +1,3 @@
1
1
  module Joplin
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joplin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bretoi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-02 00:00:00.000000000 Z
11
+ date: 2023-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http