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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d67cb04a9f0fe207f50c9f69cb16fd335561079
4
- data.tar.gz: 693fb4ea0819cd49326cc851c018193f0f6d6c48
3
+ metadata.gz: 6010d01c5bb3a399c0b20032756fc9f3bf71d4ae
4
+ data.tar.gz: 5fd766dbb2cdb25743be78163a102bd193d6d575
5
5
  SHA512:
6
- metadata.gz: 007c25beaaa88a1b947054b0a5fcc2547c15a49ff941625086caf8814d33cbf6513c4816a61c36a0bb12ded91bc9c343b0a6643ffdaf796e5b0ec56a1232f3aa
7
- data.tar.gz: 1f22ad2cabeb1258a27dad4d4856fab1749d44e4bc679ef850b25f1f7f74b350ad43ba5f929fc64934b049dbddbcf9a6bb70596b727cd54b61816f5a880ae27b
6
+ metadata.gz: 52525dfca89aec744d21fc5094cfe43054ed32728c482818c69da552ed282d5381cded9b6396d4e26043b668f6d4eac3f4d7960b57a525eb066944468c1683b4
7
+ data.tar.gz: c3343c36f65bb6fd6172f6e98a3d95a9577388f7060027d9cefee135c1805ff7297713570cfbfe4e9441a2f4704a8fa4dd2d3e06a7965e6ffd08b98fb08cde4f
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Yinx
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
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-01-29 00:00:00.000000000 Z
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.6.8
113
+ rubygems_version: 2.5.2
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Get my evernote metadata