rake-sprockets 0.0.3 → 0.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: f1709224381a55728faeea0190849e626ba80bd6
4
- data.tar.gz: 0eef947b307984dc682bc895b74a0c20c6c698a1
3
+ metadata.gz: 02e8f572e6b97c0f90cf94fc852788f249ce5ed9
4
+ data.tar.gz: b371fdfb4906925f1d1202aa646737e9a32b9b0e
5
5
  SHA512:
6
- metadata.gz: 323bfd8408a2be0f40ca4184b3a87c725bb8a96bf472f79bbf137ef9726e43044c5fee0d91457c6c743baf760496f219fc8f5c7c2f1d4b22c59b70179bae753a
7
- data.tar.gz: 2e501433e6a1ace0ea2fb16987040fc3a0a1b2b8cf2cdd34132165056f4735d055c70e120051732be445c4111cdb1b1fb8409c9fcce3b5f11025e89947210ac3
6
+ metadata.gz: dd330438ffe23919e1a34a821d4395e4605f3ea4b43bdd979ba1d5cb6e879d6e6e2a7694bfc27e65ac6ffb219fe6c7f90eebab5a7e9d454af982177c7b5bbb39
7
+ data.tar.gz: 193beffc092de3904b593ada64e0aa27966cf0d2027a586bad66f788db6b7ae061b2b1558854d16c7cb3fa49500f6c60b1576b33962e4e94ab85abef17537a65
@@ -1,8 +1,9 @@
1
1
  class EyString < String
2
2
  def method_missing(name, *args, &blk)
3
3
  sname = name.to_s
4
- if sname =~ /\?$/
5
- self == sname
4
+ regex = /\?$/
5
+ if sname =~ regex
6
+ self == sname.gsub(regex, '')
6
7
  else
7
8
  super
8
9
  end
@@ -1,5 +1,5 @@
1
1
  module Rake
2
2
  module Sprockets
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-sprockets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - myobie