yinx 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yinx/note_meta.rb +6 -4
- data/lib/yinx/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6010d01c5bb3a399c0b20032756fc9f3bf71d4ae
|
4
|
+
data.tar.gz: 5fd766dbb2cdb25743be78163a102bd193d6d575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52525dfca89aec744d21fc5094cfe43054ed32728c482818c69da552ed282d5381cded9b6396d4e26043b668f6d4eac3f4d7960b57a525eb066944468c1683b4
|
7
|
+
data.tar.gz: c3343c36f65bb6fd6172f6e98a3d95a9577388f7060027d9cefee135c1805ff7297713570cfbfe4e9441a2f4704a8fa4dd2d3e06a7965e6ffd08b98fb08cde4f
|
data/lib/yinx/note_meta.rb
CHANGED
@@ -20,10 +20,6 @@ class Yinx::NoteMeta
|
|
20
20
|
@store = note_store
|
21
21
|
end
|
22
22
|
|
23
|
-
def self.raw
|
24
|
-
new nil, nil
|
25
|
-
end
|
26
|
-
|
27
23
|
def tags
|
28
24
|
@tags ||= (tagGuids ? tagGuids.map{|id| @store.tag_name id} : [])
|
29
25
|
end
|
@@ -50,6 +46,12 @@ class Yinx::NoteMeta
|
|
50
46
|
end
|
51
47
|
end
|
52
48
|
|
49
|
+
def self.from_h hash
|
50
|
+
raw = new nil, nil
|
51
|
+
raw.marshal_load hash
|
52
|
+
raw
|
53
|
+
end
|
54
|
+
|
53
55
|
def marshal_dump
|
54
56
|
to_h
|
55
57
|
end
|
data/lib/yinx/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yinx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ken
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.5.2
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Get my evernote metadata
|