confetti 0.9.8 → 0.9.9

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.9.8)
4
+ confetti (0.9.9)
5
5
  mustache (~> 0.11.2)
6
6
 
7
7
  GEM
@@ -98,7 +98,7 @@ module Confetti
98
98
 
99
99
  def framework_namespace
100
100
  # phonegap = 0.x, 1.0, 1.1, 1.2, 1.3, 1.4
101
- gap = @config.phonegap_version.match(/^(0)|(1[.][0-4])/)
101
+ gap = @config.phonegap_version.match(/^(0)|^(1[.][0-4])/)
102
102
 
103
103
  gap ? 'com.phonegap' : 'org.apache.cordova'
104
104
  end
@@ -1,3 +1,3 @@
1
1
  module Confetti
2
- VERSION = "0.9.8"
2
+ VERSION = "0.9.9"
3
3
  end
@@ -220,6 +220,10 @@ describe Confetti::Template::BlackberryWidgetsConfig do
220
220
  @template.framework_namespace.should == 'org.apache.cordova'
221
221
  end
222
222
 
223
+ it "should be org.apache.cordova for 2.1.0" do
224
+ @config.phonegap_version = '2.1.0'
225
+ @template.framework_namespace.should == 'org.apache.cordova'
226
+ end
223
227
  end
224
228
 
225
229
  describe "#access" do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 8
9
- version: 0.9.8
8
+ - 9
9
+ version: 0.9.9
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-09-24 00:00:00 -07:00
19
+ date: 2012-10-08 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency