confetti 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/confetti/templates/symbian_wrt_info.mustache +1 -3
- data/lib/confetti/templates/symbian_wrt_info.rb +0 -15
- data/lib/confetti/version.rb +1 -1
- data/spec/fixtures/symbian/symbian_wrt_info_expected.plist +3 -1
- data/spec/fixtures/symbian/symbian_wrt_info_spec.plist +2 -2
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -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
|
data/lib/confetti/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
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-
|
19
|
+
date: 2011-09-21 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|