ever_exp 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: 79f47d4614b6d8709aacd65065421804fa7f725d
4
- data.tar.gz: 53019da3b514fbb881d9400b75c01f448194bfd9
3
+ metadata.gz: 9745c41cc1ed05d829068a7b6fc23229b86236db
4
+ data.tar.gz: 8db1e65bb212f176c80187ef7f34cce2184c57c4
5
5
  SHA512:
6
- metadata.gz: 4d30d18bc60ac346627b524405195a2d6135cd5022af32891a7fe9b874862fff98acb198dfefc7fa61875cb7d09bf0d5680c4fcc33be40a0c0fb4898d8af959d
7
- data.tar.gz: 543574f555f5afd3e1e444ea6ef6a54c5927ea4dff7de6cbbe08a1ad3153c3554c397cf0a4505f50f16b35ecfddac8e44ee298dac12c37835a3be20eab73fc93
6
+ metadata.gz: ee11784524e73646f306e999afdf797e0c13916cdf8fb87d9f02ff0c2eed53de07659171ee0ebf55a652fb69ce4baf762080765cba962a2963c4ba90ae52f07d
7
+ data.tar.gz: a57d361064eeb7fd7f845962fa10d4e50395b8f872106c0e2961c04d3e2f0a47a0c1c5d2686aa62923d8cc46cda0709cfbe1910a43d08f5c3226b9757d6840f3
data/lib/ever_exp/html.rb CHANGED
@@ -50,6 +50,12 @@ module EverExp
50
50
  html.css('img')
51
51
  end
52
52
 
53
+ def attachments
54
+ _content.
55
+ css('a').
56
+ select{|a| a.css('img').count > 0}
57
+ end
58
+
53
59
  def content
54
60
  _content.to_html
55
61
  end
@@ -1,3 +1,3 @@
1
1
  module EverExp
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ken
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-18 00:00:00.000000000 Z
11
+ date: 2017-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler