joplin 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/joplin/version.rb +1 -1
- data/lib/joplin.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dfac990f629dd9162bf5847a84987b5a41d08ca60d6cd2c4f262d1e47437bfe
|
4
|
+
data.tar.gz: c41235cfdeb50f936ce00b366cb46a471c5f17fe226c3220af0b3106ab529e72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6df0a09a49f852756a0d43da46f128b81c3e985c046076dac2bebbdb1fb96c7e4f6ab0b5b9e9a1a88917656619ed28b90f0b45b67366902df2b06555a48d4c2d
|
7
|
+
data.tar.gz: 6fddaddffd9017529b7230c2e1d96760cbedb02d8cccb0a9079ba5f2e5795c89b745d8bb5e55de07b2dd621f278d4d2cad8efab72475416ab869061ac1d3b4cf
|
data/Gemfile.lock
CHANGED
data/lib/joplin/version.rb
CHANGED
data/lib/joplin.rb
CHANGED
@@ -5,6 +5,7 @@ require "json"
|
|
5
5
|
module Joplin
|
6
6
|
class Error < StandardError; end
|
7
7
|
attr_accessor :token
|
8
|
+
@@token = nil
|
8
9
|
|
9
10
|
def self.token= token
|
10
11
|
@@token = token
|
@@ -27,7 +28,7 @@ module Joplin
|
|
27
28
|
end
|
28
29
|
|
29
30
|
def self.token
|
30
|
-
@@token
|
31
|
+
@@token || get_token
|
31
32
|
end
|
32
33
|
|
33
34
|
def self.uri= uri
|