smerge 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: 1732cab9c4a4271972f13e67765bb107cbea5654
4
- data.tar.gz: 2d1465d5b8ad029ebcd7ce783ccc1f258739cabe
3
+ metadata.gz: 3fcf73c2e8247d1cdb09a62617d55249be1105da
4
+ data.tar.gz: 121650b7fc3d909e940171b5f4b65960d39a6585
5
5
  SHA512:
6
- metadata.gz: 7667abbaa6ada1b0df23ad3e4b9fff88ed00d41ab2b266b5b0e761752b0bea9e728b29bc554b88c4cb7c3d569ffa709a8c86c1827199031fd8d6a657693c431b
7
- data.tar.gz: f80c5c13b4c5660c029fa2b811421a0fb484410bc5380e0ce7bb564f314835d8c85c00677f0fa9e6c3425f8a58471f2280319bf1001df8db89db8c06efee0534
6
+ metadata.gz: 8305a96cc270288807932ac710973fdb1b5fb3e9639f3621bbbe81c84449e1954215dc45f15abd9709a4c55d02524da76d3c8a335884bf7da5c5f5c8b2db3c11
7
+ data.tar.gz: f6520b5ef14d4001d6dc0a9350ffa7d85edc8f036fb3cb2d00638b558d8cdbead5b908df3e6e10b1e40369d438edf92bdf58e66df7b7dc86464adf7cd74f2361
@@ -0,0 +1,7 @@
1
+ module Smerge
2
+ module Matchers
3
+ refine String do
4
+ def match(obj); self == obj end
5
+ end
6
+ end
7
+ end
@@ -1,6 +1,7 @@
1
1
  require 'smerge/matchers/class'
2
2
  require 'smerge/matchers/object'
3
3
  require 'smerge/matchers/regexp'
4
+ require 'smerge/matchers/string'
4
5
 
5
6
  module Smerge
6
7
  class Rule
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smerge
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
  - Ben Thorner
@@ -24,6 +24,7 @@ files:
24
24
  - lib/smerge/matchers/class.rb
25
25
  - lib/smerge/matchers/object.rb
26
26
  - lib/smerge/matchers/regexp.rb
27
+ - lib/smerge/matchers/string.rb
27
28
  - lib/smerge/rule.rb
28
29
  - lib/smerge/setup.rb
29
30
  homepage: https://github.com/benthorner/smerge