confetti 0.5.1 → 0.5.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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- confetti (0.5.0)
4
+ confetti (0.5.2)
5
5
  mustache (~> 0.11.2)
6
6
 
7
7
  GEM
@@ -30,7 +30,7 @@ module Confetti
30
30
 
31
31
  # find features corresponding to plugins
32
32
  plugin_features = self.feature_set.select do |f|
33
- f.name.match(p_name)
33
+ !f.name.nil? && f.name.match(p_name)
34
34
  end
35
35
 
36
36
  # turn matching features into plugins
@@ -1,3 +1,3 @@
1
1
  module Confetti
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
@@ -40,6 +40,7 @@ describe Confetti::PhoneGap do
40
40
  @obj.feature_set << Confetti::Config::Feature.new(childbrowser, nil)
41
41
  @obj.feature_set << Confetti::Config::Feature.new(fbconnect, nil)
42
42
  @obj.feature_set << Confetti::Config::Feature.new(file_api, nil)
43
+ @obj.feature_set << Confetti::Config::Feature.new(nil, nil)
43
44
  end
44
45
 
45
46
  it "should return an array with 2 entries" do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 1
9
- version: 0.5.1
8
+ - 2
9
+ version: 0.5.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andrew Lunny
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-02-17 00:00:00 -08:00
19
+ date: 2012-02-22 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency