joplin 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/joplin +11 -2
  3. data/lib/joplin/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c47aee19cc5f53aea14432231fb49276a97b22a8c9c076fb333adc14ca5c5103
4
- data.tar.gz: ade107e1875175fb080eaa33a6b69752eade65e97d51ab21d1fd9f5e496eb779
3
+ metadata.gz: c2c49e745ffa9c4f3956e5b5eb8a58f8bcba5aaa253229d571a3fcee4ea282e9
4
+ data.tar.gz: 79987f1e955121ceb1cc6c28c48d72dd7af0b8ab81024079ff5f4a6420e37ad2
5
5
  SHA512:
6
- metadata.gz: 03ab75b8e2704463fcdaf5ca91d94bb01ee0a84be655c81b73e139dba299d0368a3c0d878287c00f1f029df2e657fd7cf5b1d4fd36e864a4f493094e6d4b6ed8
7
- data.tar.gz: 8175d47bac51209a1e04727daa32b7f43368d8d8c7506c5aadac7811b2046cb5910e391bca72302cd76b76e6d3db727a13a1e06fd75b5bef4ac102a3874517ce
6
+ metadata.gz: 74cf728f619e860296483243a61253aa968790c2a55f18114842635e9bb6341f83bdc8548324d7b03ecde6c72069bd35a887143236a0ad6361eb9ad0cb0e642e
7
+ data.tar.gz: 9d7d02c45a3c3ff606546425057eb1f5b5d1bfa9fe605f9f45492ddeb06f1e598601b09d76fc198f05a9dd4744d41ec7d3f23db2b787f40ea09e7536d94b50a4
data/bin/joplin CHANGED
@@ -44,9 +44,18 @@ class MyCLI < Thor
44
44
  notes = notebook.notes
45
45
  new_note = Joplin::Note.new
46
46
  new_note.title = query
47
- divider = %Q(<svg height="8" width="100%"><g fill="none" stroke="black" stroke-width="4"><path stroke-dasharray="20,10,5,5,5,10" d="M0 4 l415 0" /></g></svg>)
47
+ divider = %Q(
48
48
 
49
- new_note.body = notes.map { |n| "\# #{n.title}\n\n#{n.body}" }.join("\n#{divider}\n")
49
+ <svg height="50" width="460">
50
+ <style> .line { stroke-width: 1px; fill: black; stroke: black; } </style>
51
+ <g id="triangle"><path d="M0 30 L200 25 Q 220 25 200 40 Z" class="line" /></g>
52
+ <use xlink:href="#triangle" transform="scale(-1 1) translate(-450 0)"/>
53
+ <circle cx="225" cy="32" r="8" class="line"/>
54
+ </svg>
55
+
56
+ )
57
+
58
+ new_note.body = notes.map { |n| "\# #{n.title}\n\n#{n.body}" }.join(divider)
50
59
  new_note.save!
51
60
  puts "Saved: #{new_note.title} with id: #{new_note.id}"
52
61
  end
@@ -1,3 +1,3 @@
1
1
  module Joplin
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joplin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bretoi