yinx 0.1.0 → 0.1.1

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: f7a68a3017767f66cc536c160d4fdeddcb51c875
4
- data.tar.gz: 7d42de0bf67a8dec6465ee4cd3590ef387950ef4
3
+ metadata.gz: 9f1209c0fbc1f5db1408c43ea73df8b4b3cbd08b
4
+ data.tar.gz: 47871421a490b75913c9ba9ea201fed6e08aa7bd
5
5
  SHA512:
6
- metadata.gz: 5ca136c524b0af951a85c355134676653f6df342d47845d2901a7a29d4b2b0bef4ff540564af6cbd50a4f0acfdca0db4e74cc03d56af14fd9724cb3f2845f94b
7
- data.tar.gz: 7e741e652e9ac6f9dcb93b47f4cc9bbad1bb451649c6c66cb5770378f164942e746e31f3b250161fb84cd80dfc419c71d14810c6221809b7bd3406b165a51bb0
6
+ metadata.gz: 39a52837f1c5a254bbfbfeac7503d44fe1ea13f4886162776b5384ff740d89025789dfb3cf44b263be33ef61424a2aace5a2797083591cd55d23092079202d5d
7
+ data.tar.gz: b83b4fb19d860ef55e7dfadc1b6d737b7d9f5b0fe6ca3023cc33d8b19aee801fdd5e987e7a799bc5fc0235dfde7adbb26bd81eabe05948e873c1ad4807d34da9
@@ -31,6 +31,14 @@ class NoteMeta
31
31
  @stack = (instance_variable_defined? :@stack) ? @stack : @store.stack_name(notebookGuid)
32
32
  end
33
33
 
34
+ def created_at
35
+ Time.at created / 1000
36
+ end
37
+
38
+ def updated_at
39
+ Time.at updated / 1000
40
+ end
41
+
34
42
  def to_h
35
43
  @h = attr_methods.each_with_object({}) do |method, hash|
36
44
  hash[method] = send method
data/lib/yinx/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Yinx
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yinx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ken