confetti 0.4.0 → 0.4.1

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.4.0)
4
+ confetti (0.4.1)
5
5
  mustache (~> 0.11.2)
6
6
  thor (~> 0.14.3)
7
7
 
@@ -12,10 +12,8 @@
12
12
  <string>index.html</string>
13
13
  <key>MiniViewEnabled</key>
14
14
  <false/>
15
- {{# permissions }}
16
- <key>{{ name }}<key/>
15
+ <key>AllowNetworkAccess</key>
17
16
  <true/>
18
- {{/ permissions }}
19
17
  </dict>
20
18
  </plist>
21
19
 
@@ -26,21 +26,6 @@ module Confetti
26
26
  "info.plist"
27
27
  end
28
28
 
29
- def permissions
30
- permissions = []
31
- phonegap_api = /http\:\/\/api.phonegap.com\/1[.]0\/(\w+)/
32
- feature_names = @config.feature_set.map { |f| f.name }
33
- feature_names.sort
34
-
35
- feature_names.each do |f|
36
- feature_name = f.match(phonegap_api)[1] if f.match(phonegap_api)
37
- associated_permissions = GAP_PERMISSIONS_MAP[feature_name]
38
- permissions.concat(associated_permissions) if associated_permissions
39
- end
40
-
41
- permissions.sort!
42
- permissions.map { |f| { :name => f } }
43
- end
44
29
  end
45
30
  end
46
31
  end
@@ -1,3 +1,3 @@
1
1
  module Confetti
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -12,6 +12,8 @@
12
12
  <string>index.html</string>
13
13
  <key>MiniViewEnabled</key>
14
14
  <false/>
15
- </dict>
15
+ <key>AllowNetworkAccess</key>
16
+ <true/>
17
+ </dict>
16
18
  </plist>
17
19
 
@@ -12,8 +12,8 @@
12
12
  <string>index.html</string>
13
13
  <key>MiniViewEnabled</key>
14
14
  <false/>
15
- <key>AllowNetworkAccess<key/>
15
+ <key>AllowNetworkAccess</key>
16
16
  <true/>
17
- </dict>
17
+ </dict>
18
18
  </plist>
19
19
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 0
9
- version: 0.4.0
8
+ - 1
9
+ version: 0.4.1
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: 2011-09-13 00:00:00 -07:00
19
+ date: 2011-09-21 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency