muflax 0.3.0 → 0.3.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: e0d2d620d2f69caa509e922b2c1fdf3309eadc76
4
- data.tar.gz: 92e5e16239a369ee0b87c441a1b79b723726166f
3
+ metadata.gz: 2d3bf664c8922453ea4c4ef872e17dee219ba542
4
+ data.tar.gz: a7229b2d61c024706e5d31beea38c45b38702f54
5
5
  SHA512:
6
- metadata.gz: 643af95c9dacc821dd77c9e855cbc05d4d19dc29334e8730f693a435519e304638cde19acce924933d6621acffc4b5078c7fcbeed1e083bed7096160777bd431
7
- data.tar.gz: ef35033211061df3df0fac64d3bc1f9c91aef961e73c1e95dae40e07556584fd0d5cdcf915f902b24e9c02f5e00549bbf71c61a896420364dd3a5048b027b25e
6
+ metadata.gz: 00a4b934b33dc1561e3d333938f36d2db21c4a05b64032c64ca1b5165eebc9f5e25e5d0f0980734c0c639db90a509b037f005fe607a10a3d81970705aece3402
7
+ data.tar.gz: 8e28d4ff990fa72cebaba21e8ea66b5c9082bbcbb77f8bffe9c7caea61e06f3c31986f5cdff4c7f8ce205a5b03c4551eec999d1092894e8794b96a7686df98db
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- muflax (0.3.0)
4
+ muflax (0.3.1)
5
5
  awesome_print (~> 1)
6
6
  debug_inspector (~> 0.0)
7
7
  highline (~> 1.6)
data/lib/muflax/regex.rb CHANGED
@@ -12,7 +12,7 @@ class String
12
12
  str
13
13
  end
14
14
  alias :gsub_all :mgsub
15
-
15
+
16
16
  def mgsub! replacements={}
17
17
  replacements.each do |a, b|
18
18
  self.gsub! a, b
@@ -21,5 +21,9 @@ class String
21
21
  self
22
22
  end
23
23
  alias :gsub_all! :mgsub!
24
- end
25
24
 
25
+ # ruby 2.3 compat
26
+ def match?(string, pos = 0)
27
+ !!match(string, pos)
28
+ end unless //.respond_to?(:match?)
29
+ end
data/muflax.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "muflax"
3
- s.version = "0.3.0"
3
+ s.version = "0.3.1"
4
4
 
5
5
  s.authors = ["muflax"]
6
6
  s.summary = "muflax standard library"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muflax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - muflax
@@ -28,7 +28,7 @@ cert_chain:
28
28
  9xjevPGDZ+8y8wc8/mXBPK1pTaBh2oi8947HaTq8EadxezFs2Je+oSnMbygfo/a7
29
29
  0rbAHpJPtzql3a4+gjK54qkJUWSUjWuLMHFIHhMt1laowNJUio6ASGx8tfzgLLnZ
30
30
  -----END CERTIFICATE-----
31
- date: 2017-11-22 00:00:00.000000000 Z
31
+ date: 2017-11-23 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: awesome_print
metadata.gz.sig CHANGED
Binary file