tiny_css 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/tiny_css/ordered_hash.rb +2 -4
  2. metadata +4 -4
@@ -59,10 +59,8 @@ module TinyCss
59
59
 
60
60
  def split(*keys_to_split)
61
61
  h = self.class.new
62
- keys.each do |k|
63
- if keys_to_split.include?(k) && v = delete(k)
64
- h[k] = v
65
- end
62
+ keys.find_all {|k| keys_to_split.include?(k) }.each do |k|
63
+ h[k] = delete(k)
66
64
  end
67
65
  h
68
66
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_css
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - milk1000cc
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-12-20 00:00:00 +09:00
19
+ date: 2010-12-21 00:00:00 +09:00
20
20
  default_executable:
21
21
  dependencies: []
22
22