ever_exp 0.1.1 → 0.1.2

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: 9745c41cc1ed05d829068a7b6fc23229b86236db
4
- data.tar.gz: 8db1e65bb212f176c80187ef7f34cce2184c57c4
3
+ metadata.gz: 99af7d6a678b684ec914360451beae727c86332d
4
+ data.tar.gz: ac720ae39d8e8478e7a14432d4be58e0f58a81cc
5
5
  SHA512:
6
- metadata.gz: ee11784524e73646f306e999afdf797e0c13916cdf8fb87d9f02ff0c2eed53de07659171ee0ebf55a652fb69ce4baf762080765cba962a2963c4ba90ae52f07d
7
- data.tar.gz: a57d361064eeb7fd7f845962fa10d4e50395b8f872106c0e2961c04d3e2f0a47a0c1c5d2686aa62923d8cc46cda0709cfbe1910a43d08f5c3226b9757d6840f3
6
+ metadata.gz: 8dd96419b3f9fcfd0c07e02b026f2a418d795f771dbeda856587b3ad58fa54348411c601e598c2dfdbfffdc986a879bd8cc98d7d93cbaa79d02ef9287f795fb5
7
+ data.tar.gz: 750fb0b5f0f1203507ca30fdade35ba0dbdeb54140423094b3fdb5903f0e3f37125e18a1c08145be1c9e899b5d029369c13c8c13a2ef28457cd0cff183230084
data/lib/ever_exp/html.rb CHANGED
@@ -30,6 +30,10 @@ module EverExp
30
30
  @tags
31
31
  end
32
32
 
33
+ def tags_array
34
+ tags.split ', '
35
+ end
36
+
33
37
  def created
34
38
  parse_meta
35
39
  @created
@@ -97,6 +101,7 @@ module EverExp
97
101
  @created = parse_date meta_value metas[0]
98
102
  @updated = parse_date meta_value metas[1]
99
103
  @tags = meta_value metas[2]
104
+ @tags = meta_value metas[3] if @tags =~ /@/
100
105
  @parsed_meta = true
101
106
  end
102
107
 
data/lib/ever_exp/note.rb CHANGED
@@ -18,7 +18,7 @@ module EverExp
18
18
  end
19
19
 
20
20
  def tag_array
21
- tags.split ', '
21
+ html.tags_array
22
22
  end
23
23
 
24
24
  def <<(html_or_files)
@@ -1,3 +1,3 @@
1
1
  module EverExp
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ever_exp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ken
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-27 00:00:00.000000000 Z
11
+ date: 2017-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler