essay 1.0.3 → 1.0.4

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: 52bdf1b1909077d5a43a5a292f8330a58a44acd4
4
- data.tar.gz: f7e3fb6bfc9b2be4e82f42734b6c73f745e19c01
3
+ metadata.gz: bf366521203e669fbe983484c66fa8c90ada19f7
4
+ data.tar.gz: 7cf65ba5cc3e47c09ead5bb408422e558391125f
5
5
  SHA512:
6
- metadata.gz: eadfb90980dc3e39322e403ebca5a27c267d6261601a3a74b202397ed10c26920d6aaba0e3a1fa6e73ac0dba69d065d44c2a1395121380aeb7417c6d4ffa66df
7
- data.tar.gz: d5e5af80bac5e1240edc5f946d77ee519cff465e01bc6a1143287b9ef17a36549bc4746d7d717e98d8da5f239cf1deac37c3e1ed73672476b69722e439c95ac9
6
+ metadata.gz: 717c01be8ac2546beaf0b4718292fe897d84d24acb1c8f999443b3ca6ca74cae6d562e2e9f2d502e0affebc6efe0bc15f0e7ba683479a89cc37fb5afff56490d
7
+ data.tar.gz: 9ef1b952345a08f0dd1b795fe8a02d507c0573d2f64d24ae9d9337e9524a91f41d9ef60ee1e6818c98c5f98bded485df5b7bd29c18575db01463747e9b137f4f
@@ -4,15 +4,15 @@
4
4
  module Essay
5
5
  module FeatureHelper
6
6
  def is(thing)
7
- send(thing)
7
+ try(thing)
8
8
  end
9
9
 
10
10
  def not(thing)
11
- send(thing)
11
+ try(thing)
12
12
  end
13
13
 
14
14
  def with(thing, &block)
15
- obj = send(thing)
15
+ obj = try(thing)
16
16
  block.call(obj) if obj
17
17
  end
18
18
  end
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Essay
5
- VERSION = '1.0.3'
5
+ VERSION = '1.0.4'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: essay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Konoplov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-20 00:00:00.000000000 Z
11
+ date: 2016-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport