rack-dev-mark 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjgxZGYyYmNiNzI4ZDFhODBmZWZhOGU5ZjJiZTZiNzhiN2JmYTc5OA==
4
+ NDI0NDVjZGE2NGU1YzViZTZiM2IxM2U0NzEwNmFiMGNmYzVjN2UzNg==
5
5
  data.tar.gz: !binary |-
6
- Y2VkNzU1ZTA0OTVmNmRjYWFkMGVhNTlhYjIxZGQ1ODQ5YzJhODliNg==
6
+ YTEyOTVhMWEzZDg1ZGE2OWM1ZGUxMDk3MGJiMTIyMzM3NzVlY2NmOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTFmNzFiNDA0MzExYTU5ZGRkZDE3ZjBmMDI4NmYwNWMxYWI3MmNjNWM3YmM2
10
- YzYwNWE5YTUwNmNiN2QwZTA5OWNmYTc2NWY5NTgyMTNhMzM4ZjUyNjI5NjVk
11
- NjljYjBhOTgwZjFhMzhhM2VjZGNjZGE3MWIwMGUzOTRlMzFmNDQ=
9
+ NjVhODM5ZThiOGUzMjE2MjYzZWY4NjgzMGFmYWY5YjEyODcxZDRhODdjYzJk
10
+ NTBjMTdlMDU4MmViNThiZTU4NGIxZWE2NDdjY2IxYmE1NTdmMWUyM2U4N2Qw
11
+ Njk2YWQxOGQzZDJjYjEyYTNlMmRmMjYzMmQxYTZhNTk4YTQwOTQ=
12
12
  data.tar.gz: !binary |-
13
- YmRmMjNmNGY3YmY1Nzk0ZDAwMDU1ZWZhNGViMDc2MGViNTc5NTU1MzdlMjMy
14
- MDQ4OGYxYmUyM2Y0ZDMwOTNjOTEyODQ0OWQ5NmVkYzRiMTAxMjFmMzdhODVj
15
- MDJlNzZiYjBkZTYwYTk4M2JjY2MwNmMyZmEyMGM0YzQyOTk4NDQ=
13
+ ZmRiMjhlMDVmOGQ5MzM0N2ZjMTQ5YjAzNjM3MTY2M2NkNGMyMTc1OTdlYjFj
14
+ YWY3MzczNjAwNDAxOWZkOWRhODgxOTUwNTJmMjUyZTNmNWZiMzllNzU2MWNl
15
+ OTRkOGYwMDcxYjE1ZTM5ZmY5ZTgyMzVlZmQxOTc2NmZlYzFmYmQ=
@@ -24,13 +24,13 @@ module Rack
24
24
  end
25
25
 
26
26
  def gsub_tag_content(html, name, &block)
27
- String.new(html).gsub(%r{(<#{name}\s*[^>]*>)([^<]*)(</#{name}>)}i) do
27
+ String.new(html).gsub(%r{(<#{name}\s*[^>]*>)([^<]*)(</#{name}>)}im) do
28
28
  "#{$1}#{block.call($2)}#{$3}"
29
29
  end
30
30
  end
31
31
 
32
32
  def gsub_tag_attribute(html, name, attr, &block)
33
- String.new(html).gsub %r{(<#{name}\s*)([^>]*)(>)}i do
33
+ String.new(html).gsub %r{(<#{name}\s*)([^>]*)(>)}im do
34
34
  s1, s2, s3 = $1, $2, $3
35
35
  s2.gsub! %r{(#{attr}=')([^']*)(')} do
36
36
  "#{$1}#{block.call($2)}#{$3}"
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module DevMark
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-dev-mark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daisuke Taniwaki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-01 00:00:00.000000000 Z
11
+ date: 2014-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack