confetti 0.1.0
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/.gitignore +4 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +48 -0
- data/README.md +46 -0
- data/Rakefile +19 -0
- data/bin/confetti +4 -0
- data/confetti.gemspec +29 -0
- data/features/android.feature +14 -0
- data/features/blackberry.feature +9 -0
- data/features/command_line.feature +12 -0
- data/features/ios.feature +9 -0
- data/features/step_definitions/aruba_ext_steps.rb +7 -0
- data/features/support/setup.rb +1 -0
- data/features/symbian.wrt.feature +9 -0
- data/features/webos.feature +9 -0
- data/lib/confetti.rb +31 -0
- data/lib/confetti/cli.rb +19 -0
- data/lib/confetti/config.rb +57 -0
- data/lib/confetti/config/feature.rb +13 -0
- data/lib/confetti/helpers.rb +7 -0
- data/lib/confetti/template.rb +4 -0
- data/lib/confetti/template_helper.rb +28 -0
- data/lib/confetti/templates/android_manifest.mustache +33 -0
- data/lib/confetti/templates/android_manifest.rb +27 -0
- data/lib/confetti/templates/android_strings.mustache +5 -0
- data/lib/confetti/templates/android_strings.rb +13 -0
- data/lib/confetti/templates/base.mustache +0 -0
- data/lib/confetti/templates/base.rb +13 -0
- data/lib/confetti/templates/blackberry_widgets_config.mustache +20 -0
- data/lib/confetti/templates/blackberry_widgets_config.rb +37 -0
- data/lib/confetti/templates/ios_info.mustache +48 -0
- data/lib/confetti/templates/ios_info.rb +21 -0
- data/lib/confetti/templates/java_checks.rb +18 -0
- data/lib/confetti/templates/symbian_wrt_info.mustache +17 -0
- data/lib/confetti/templates/symbian_wrt_info.rb +21 -0
- data/lib/confetti/templates/webos_appinfo.mustache +9 -0
- data/lib/confetti/templates/webos_appinfo.rb +49 -0
- data/lib/confetti/version.rb +3 -0
- data/lib/typedset.rb +23 -0
- data/spec/config/config_author_spec.rb +22 -0
- data/spec/config/config_content_spec.rb +22 -0
- data/spec/config/config_feature_spec.rb +33 -0
- data/spec/config/config_icon_spec.rb +22 -0
- data/spec/config/config_license_spec.rb +17 -0
- data/spec/config/config_name_spec.rb +17 -0
- data/spec/config/config_preference_spec.rb +22 -0
- data/spec/config_spec.rb +217 -0
- data/spec/fixtures/AndroidManifest_expected.xml +33 -0
- data/spec/fixtures/android_manifest_spec.xml +33 -0
- data/spec/fixtures/android_strings_expected.xml +5 -0
- data/spec/fixtures/android_strings_spec.xml +5 -0
- data/spec/fixtures/appinfo_expected.json +9 -0
- data/spec/fixtures/blackberry_widget_config_expected.xml +20 -0
- data/spec/fixtures/blackberry_widget_config_spec.xml +20 -0
- data/spec/fixtures/config.xml +21 -0
- data/spec/fixtures/ios_info_expected.plist +48 -0
- data/spec/fixtures/ios_info_spec.plist +48 -0
- data/spec/fixtures/symbian_wrt_info_expected.plist +17 -0
- data/spec/fixtures/symbian_wrt_info_spec.plist +17 -0
- data/spec/fixtures/webos_appinfo_spec.json +9 -0
- data/spec/helpers_spec.rb +21 -0
- data/spec/integration_spec.rb +66 -0
- data/spec/spec_helper.rb +83 -0
- data/spec/template_spec.rb +4 -0
- data/spec/templates/android_manifest_spec.rb +66 -0
- data/spec/templates/android_strings_spec.rb +56 -0
- data/spec/templates/base_spec.rb +25 -0
- data/spec/templates/blackberry_widget_config_spec.rb +94 -0
- data/spec/templates/ios_info_spec.rb +68 -0
- data/spec/templates/java_checks_spec.rb +59 -0
- data/spec/templates/symbian_wrt_info_spec.rb +68 -0
- data/spec/templates/webos_appinfo_spec.rb +101 -0
- data/spec/typedset_spec.rb +72 -0
- metadata +256 -0
@@ -0,0 +1,68 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Confetti::Template::IosInfo do
|
4
|
+
include HelpfulPaths
|
5
|
+
|
6
|
+
before :all do
|
7
|
+
@template_class = Confetti::Template::IosInfo
|
8
|
+
end
|
9
|
+
|
10
|
+
it "should inherit from the base template" do
|
11
|
+
@template_class.superclass.should be Confetti::Template::Base
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should have the template_file \"ios_info.mustache\" in the confetti/templates dir" do
|
15
|
+
@template_class.template_file.should == "#{ templates_dir }/ios_info.mustache"
|
16
|
+
end
|
17
|
+
|
18
|
+
describe "templated attributes" do
|
19
|
+
subject { @template = @template_class.new }
|
20
|
+
|
21
|
+
it { should respond_to :bundle_identifier }
|
22
|
+
it { should respond_to :product_name }
|
23
|
+
it { should respond_to :bundle_version }
|
24
|
+
end
|
25
|
+
|
26
|
+
describe "default values" do
|
27
|
+
it "should define output filename as \"Info.plist\"" do
|
28
|
+
@template_class.new.output_filename.should == "Info.plist"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe "when passed a config object" do
|
33
|
+
before do
|
34
|
+
@config = Confetti::Config.new
|
35
|
+
@config.name.name = "Awesome App"
|
36
|
+
@config.package = "com.whoever.awesome.app"
|
37
|
+
@config.version = "1.0.0"
|
38
|
+
end
|
39
|
+
|
40
|
+
it "should accept the config object" do
|
41
|
+
lambda {
|
42
|
+
@template_class.new(@config)
|
43
|
+
}.should_not raise_error
|
44
|
+
end
|
45
|
+
|
46
|
+
describe "templated attributes" do
|
47
|
+
before do
|
48
|
+
@template = @template_class.new(@config)
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should set bundle_identifier correctly" do
|
52
|
+
@template.bundle_identifier.should == "com.whoever.awesome.app"
|
53
|
+
end
|
54
|
+
|
55
|
+
it "should set product_name correctly" do
|
56
|
+
@template.product_name.should == "Awesome App"
|
57
|
+
end
|
58
|
+
|
59
|
+
it "should set bundle_version correctly" do
|
60
|
+
@template.bundle_version.should == "1.0.0"
|
61
|
+
end
|
62
|
+
|
63
|
+
it "should render the correct Info.plist" do
|
64
|
+
@template.render.should == File.read("#{ fixture_dir }/ios_info_spec.plist")
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Confetti::Template::JavaChecks do
|
4
|
+
include Confetti::Template::JavaChecks
|
5
|
+
|
6
|
+
describe "#is_java_identifier" do
|
7
|
+
describe "should fail when" do
|
8
|
+
it "has invalid characters" do
|
9
|
+
is_java_identifier("ooo:bu").should be_false
|
10
|
+
end
|
11
|
+
|
12
|
+
it "begins with a number" do
|
13
|
+
is_java_identifier("12Class").should be_false
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should fail wtih an empty string" do
|
17
|
+
is_java_identifier('').should be_false
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
describe "should succeed when" do
|
22
|
+
it "valid characters are passed" do
|
23
|
+
is_java_identifier("ClassName").should be_true
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
describe "#convert_to_java_identifier" do
|
29
|
+
it "should not affect a valid identifier" do
|
30
|
+
convert_to_java_identifier("Foo").should == "Foo"
|
31
|
+
end
|
32
|
+
|
33
|
+
it "should remove spaces" do
|
34
|
+
convert_to_java_identifier("Sample App").should == "SampleApp"
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should convert non-space invalid characters to underscores" do
|
38
|
+
convert_to_java_identifier("Foo:Bar").should == "Foo_Bar"
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should convert an initial digit to an underscore" do
|
42
|
+
convert_to_java_identifier("12Foo").should == "_2Foo"
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe "#is_java_package_id" do
|
47
|
+
it "should accept a dot-separated list of lower case java identifiers" do
|
48
|
+
is_java_package_id("com.alunny.foo").should be_true
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should not accept a dot-terminated string" do
|
52
|
+
is_java_package_id("com.alunny.foo.").should be_false
|
53
|
+
end
|
54
|
+
|
55
|
+
it "should not accept a dot-first string" do
|
56
|
+
is_java_package_id(".com.alunny.foo").should be_false
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Confetti::Template::SymbianWrtInfo do
|
4
|
+
include HelpfulPaths
|
5
|
+
|
6
|
+
before :all do
|
7
|
+
@template_class = Confetti::Template::SymbianWrtInfo
|
8
|
+
end
|
9
|
+
|
10
|
+
it "should inherit from the base template" do
|
11
|
+
@template_class.superclass.should be Confetti::Template::Base
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should have the template_file \"symbian_wrt_info.mustache\" in the confetti/templates dir" do
|
15
|
+
@template_class.template_file.should == "#{ templates_dir }/symbian_wrt_info.mustache"
|
16
|
+
end
|
17
|
+
|
18
|
+
describe "templated attributes" do
|
19
|
+
subject { @template = @template_class.new }
|
20
|
+
|
21
|
+
it { should respond_to :display_name }
|
22
|
+
it { should respond_to :identifier }
|
23
|
+
it { should respond_to :version }
|
24
|
+
end
|
25
|
+
|
26
|
+
describe "default values" do
|
27
|
+
it "should define output filename as \"info.plist\"" do
|
28
|
+
@template_class.new.output_filename.should == "info.plist"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe "when passed a config object" do
|
33
|
+
before do
|
34
|
+
@config = Confetti::Config.new
|
35
|
+
@config.name.name = "Awesome App"
|
36
|
+
@config.package = "com.whoever.awesome.app"
|
37
|
+
@config.version = "1.0.0"
|
38
|
+
end
|
39
|
+
|
40
|
+
it "should accept the config object" do
|
41
|
+
lambda {
|
42
|
+
@template_class.new(@config)
|
43
|
+
}.should_not raise_error
|
44
|
+
end
|
45
|
+
|
46
|
+
describe "templated attributes" do
|
47
|
+
before do
|
48
|
+
@template = @template_class.new(@config)
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should set identifier correctly" do
|
52
|
+
@template.identifier.should == "com.whoever.awesome.app"
|
53
|
+
end
|
54
|
+
|
55
|
+
it "should set display_name correctly" do
|
56
|
+
@template.display_name.should == "Awesome App"
|
57
|
+
end
|
58
|
+
|
59
|
+
it "should set version correctly" do
|
60
|
+
@template.version.should == "1.0.0"
|
61
|
+
end
|
62
|
+
|
63
|
+
it "should render the correct info.plist" do
|
64
|
+
@template.render.should == File.read("#{ fixture_dir }/symbian_wrt_info_spec.plist")
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Confetti::Template::WebosAppinfo do
|
4
|
+
include HelpfulPaths
|
5
|
+
|
6
|
+
before :all do
|
7
|
+
@template_class = Confetti::Template::WebosAppinfo
|
8
|
+
end
|
9
|
+
|
10
|
+
it "should inherit from the base template" do
|
11
|
+
@template_class.superclass.should be Confetti::Template::Base
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should have the template_file \"webos_appinfo.mustache\" in the confetti/templates dir" do
|
15
|
+
@template_class.template_file.should == "#{ templates_dir }/webos_appinfo.mustache"
|
16
|
+
end
|
17
|
+
|
18
|
+
describe "templated attributes" do
|
19
|
+
subject { @template = @template_class.new }
|
20
|
+
|
21
|
+
it { should respond_to :app_id }
|
22
|
+
it { should respond_to :app_name }
|
23
|
+
it { should respond_to :version }
|
24
|
+
end
|
25
|
+
|
26
|
+
describe "default values" do
|
27
|
+
it "should define output filename as \"appinfo.json\"" do
|
28
|
+
@template_class.new.output_filename.should == "appinfo.json"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe "when passed a config object" do
|
33
|
+
before do
|
34
|
+
@config = Confetti::Config.new
|
35
|
+
@config.name.name = "Awesome App"
|
36
|
+
@config.package = "com.whoever.awesome.app"
|
37
|
+
@config.author.name = "Bruce Lee"
|
38
|
+
@config.version = "1.0.0"
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should accept the config object" do
|
42
|
+
lambda {
|
43
|
+
@template_class.new(@config)
|
44
|
+
}.should_not raise_error
|
45
|
+
end
|
46
|
+
|
47
|
+
describe "templated attributes" do
|
48
|
+
before do
|
49
|
+
@template = @template_class.new(@config)
|
50
|
+
end
|
51
|
+
|
52
|
+
it "should set app_id correctly" do
|
53
|
+
@template.app_id.should == "com.whoever.awesome.app"
|
54
|
+
end
|
55
|
+
|
56
|
+
it "should set class_name correctly" do
|
57
|
+
@template.app_name.should == "Awesome App"
|
58
|
+
end
|
59
|
+
|
60
|
+
it "should set vendor correctly" do
|
61
|
+
@template.vendor.should == "Bruce Lee"
|
62
|
+
end
|
63
|
+
|
64
|
+
it "should render the correct appinfo.json" do
|
65
|
+
@template.render.should == File.read("#{ fixture_dir }/webos_appinfo_spec.json")
|
66
|
+
end
|
67
|
+
|
68
|
+
describe "#version method" do
|
69
|
+
it "should return the default (0.0.1) when version is not set" do
|
70
|
+
@config.version = nil
|
71
|
+
@template.version.should == "0.0.1"
|
72
|
+
end
|
73
|
+
|
74
|
+
it "should raise an error if version isn't even close" do
|
75
|
+
@config.version = 'breakfast'
|
76
|
+
lambda { @template.version }.should raise_error
|
77
|
+
end
|
78
|
+
|
79
|
+
it "should add empty digits if string has one segment" do
|
80
|
+
@config.version = '1'
|
81
|
+
@template.version.should == "1.0.0"
|
82
|
+
end
|
83
|
+
|
84
|
+
it "should add empty digits if string has two segments" do
|
85
|
+
@config.version = '1.1'
|
86
|
+
@template.version.should == "1.1.0"
|
87
|
+
end
|
88
|
+
|
89
|
+
it "should truncate extra digits if string has too many segments" do
|
90
|
+
@config.version = '1.2.3.4.5'
|
91
|
+
@template.version.should == "1.2.3"
|
92
|
+
end
|
93
|
+
|
94
|
+
it "should return config.version when it is valid" do
|
95
|
+
@config.version = '0.1.0'
|
96
|
+
@template.version.should == "0.1.0"
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe TypedSet do
|
4
|
+
it "should fail without a class being passed in" do
|
5
|
+
lambda { TypedSet.new "foo" }.should raise_error ArgumentError
|
6
|
+
end
|
7
|
+
|
8
|
+
it "should succeed when a class is passed in" do
|
9
|
+
lambda { TypedSet.new String }.should_not raise_error
|
10
|
+
end
|
11
|
+
|
12
|
+
it "should allow initialization with values" do
|
13
|
+
lambda {
|
14
|
+
TypedSet.new(String, "one", "two", "three")
|
15
|
+
}.should_not raise_error
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should not allow initialization with invalid values" do
|
19
|
+
lambda {
|
20
|
+
TypedSet.new(String, "one", [1, "two"], "three")
|
21
|
+
}.should raise_error ArgumentError
|
22
|
+
end
|
23
|
+
|
24
|
+
describe "when defined with a class" do
|
25
|
+
before do
|
26
|
+
@new_set = TypedSet.new String
|
27
|
+
end
|
28
|
+
|
29
|
+
it "should expose the given class as set_class" do
|
30
|
+
@new_set.set_class.should be String
|
31
|
+
end
|
32
|
+
|
33
|
+
it "should not allow #add with different classes" do
|
34
|
+
lambda { @new_set.add 12 }.should raise_error ArgumentError
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should allow #add with the right class" do
|
38
|
+
lambda { @new_set.add "string" }.should_not raise_error
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should add an object of the right class to the set using #add" do
|
42
|
+
@new_set.add "foo"
|
43
|
+
@new_set.should include "foo"
|
44
|
+
end
|
45
|
+
|
46
|
+
it "should not allow #<< with different classes" do
|
47
|
+
lambda { @new_set << 12 }.should raise_error ArgumentError
|
48
|
+
end
|
49
|
+
|
50
|
+
it "should allow #<< with the right class" do
|
51
|
+
lambda { @new_set << "string" }.should_not raise_error
|
52
|
+
end
|
53
|
+
|
54
|
+
it "should add an object of the right class to the set using #<<" do
|
55
|
+
@new_set << "foo"
|
56
|
+
@new_set.should include "foo"
|
57
|
+
end
|
58
|
+
|
59
|
+
it "should not allow #add? with different classes" do
|
60
|
+
lambda { @new_set.add? 12 }.should raise_error ArgumentError
|
61
|
+
end
|
62
|
+
|
63
|
+
it "should allow #add? with the right class" do
|
64
|
+
lambda { @new_set.add? "string" }.should_not raise_error
|
65
|
+
end
|
66
|
+
|
67
|
+
it "should add an object of the right class to the set using #<<" do
|
68
|
+
@new_set.add? "foo"
|
69
|
+
@new_set.should include "foo"
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
metadata
ADDED
@@ -0,0 +1,256 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: confetti
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Andrew Lunny
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-12-01 00:00:00 -08:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: mustache
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - "="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 55
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 11
|
33
|
+
- 2
|
34
|
+
version: 0.11.2
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: thor
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - "="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 33
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
- 14
|
49
|
+
- 3
|
50
|
+
version: 0.14.3
|
51
|
+
type: :runtime
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: rspec
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 11
|
62
|
+
segments:
|
63
|
+
- 2
|
64
|
+
- 1
|
65
|
+
- 0
|
66
|
+
version: 2.1.0
|
67
|
+
type: :development
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: cucumber
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 3
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
version: "0"
|
81
|
+
type: :development
|
82
|
+
version_requirements: *id004
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: aruba
|
85
|
+
prerelease: false
|
86
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
hash: 3
|
92
|
+
segments:
|
93
|
+
- 0
|
94
|
+
version: "0"
|
95
|
+
type: :development
|
96
|
+
version_requirements: *id005
|
97
|
+
description: " A little library to generate platform-specific mobile app\n configuration files from a W3C widget spec compliant config.xml"
|
98
|
+
email:
|
99
|
+
- alunny@gmail.com
|
100
|
+
executables:
|
101
|
+
- confetti
|
102
|
+
extensions: []
|
103
|
+
|
104
|
+
extra_rdoc_files: []
|
105
|
+
|
106
|
+
files:
|
107
|
+
- .gitignore
|
108
|
+
- Gemfile
|
109
|
+
- Gemfile.lock
|
110
|
+
- README.md
|
111
|
+
- Rakefile
|
112
|
+
- bin/confetti
|
113
|
+
- confetti.gemspec
|
114
|
+
- features/android.feature
|
115
|
+
- features/blackberry.feature
|
116
|
+
- features/command_line.feature
|
117
|
+
- features/ios.feature
|
118
|
+
- features/step_definitions/aruba_ext_steps.rb
|
119
|
+
- features/support/setup.rb
|
120
|
+
- features/symbian.wrt.feature
|
121
|
+
- features/webos.feature
|
122
|
+
- lib/confetti.rb
|
123
|
+
- lib/confetti/cli.rb
|
124
|
+
- lib/confetti/config.rb
|
125
|
+
- lib/confetti/config/feature.rb
|
126
|
+
- lib/confetti/helpers.rb
|
127
|
+
- lib/confetti/template.rb
|
128
|
+
- lib/confetti/template_helper.rb
|
129
|
+
- lib/confetti/templates/android_manifest.mustache
|
130
|
+
- lib/confetti/templates/android_manifest.rb
|
131
|
+
- lib/confetti/templates/android_strings.mustache
|
132
|
+
- lib/confetti/templates/android_strings.rb
|
133
|
+
- lib/confetti/templates/base.mustache
|
134
|
+
- lib/confetti/templates/base.rb
|
135
|
+
- lib/confetti/templates/blackberry_widgets_config.mustache
|
136
|
+
- lib/confetti/templates/blackberry_widgets_config.rb
|
137
|
+
- lib/confetti/templates/ios_info.mustache
|
138
|
+
- lib/confetti/templates/ios_info.rb
|
139
|
+
- lib/confetti/templates/java_checks.rb
|
140
|
+
- lib/confetti/templates/symbian_wrt_info.mustache
|
141
|
+
- lib/confetti/templates/symbian_wrt_info.rb
|
142
|
+
- lib/confetti/templates/webos_appinfo.mustache
|
143
|
+
- lib/confetti/templates/webos_appinfo.rb
|
144
|
+
- lib/confetti/version.rb
|
145
|
+
- lib/typedset.rb
|
146
|
+
- spec/config/config_author_spec.rb
|
147
|
+
- spec/config/config_content_spec.rb
|
148
|
+
- spec/config/config_feature_spec.rb
|
149
|
+
- spec/config/config_icon_spec.rb
|
150
|
+
- spec/config/config_license_spec.rb
|
151
|
+
- spec/config/config_name_spec.rb
|
152
|
+
- spec/config/config_preference_spec.rb
|
153
|
+
- spec/config_spec.rb
|
154
|
+
- spec/fixtures/AndroidManifest_expected.xml
|
155
|
+
- spec/fixtures/android_manifest_spec.xml
|
156
|
+
- spec/fixtures/android_strings_expected.xml
|
157
|
+
- spec/fixtures/android_strings_spec.xml
|
158
|
+
- spec/fixtures/appinfo_expected.json
|
159
|
+
- spec/fixtures/blackberry_widget_config_expected.xml
|
160
|
+
- spec/fixtures/blackberry_widget_config_spec.xml
|
161
|
+
- spec/fixtures/config.xml
|
162
|
+
- spec/fixtures/ios_info_expected.plist
|
163
|
+
- spec/fixtures/ios_info_spec.plist
|
164
|
+
- spec/fixtures/symbian_wrt_info_expected.plist
|
165
|
+
- spec/fixtures/symbian_wrt_info_spec.plist
|
166
|
+
- spec/fixtures/webos_appinfo_spec.json
|
167
|
+
- spec/helpers_spec.rb
|
168
|
+
- spec/integration_spec.rb
|
169
|
+
- spec/spec_helper.rb
|
170
|
+
- spec/template_spec.rb
|
171
|
+
- spec/templates/android_manifest_spec.rb
|
172
|
+
- spec/templates/android_strings_spec.rb
|
173
|
+
- spec/templates/base_spec.rb
|
174
|
+
- spec/templates/blackberry_widget_config_spec.rb
|
175
|
+
- spec/templates/ios_info_spec.rb
|
176
|
+
- spec/templates/java_checks_spec.rb
|
177
|
+
- spec/templates/symbian_wrt_info_spec.rb
|
178
|
+
- spec/templates/webos_appinfo_spec.rb
|
179
|
+
- spec/typedset_spec.rb
|
180
|
+
has_rdoc: true
|
181
|
+
homepage: http://rubygems.org/gems/confetti
|
182
|
+
licenses: []
|
183
|
+
|
184
|
+
post_install_message:
|
185
|
+
rdoc_options: []
|
186
|
+
|
187
|
+
require_paths:
|
188
|
+
- lib
|
189
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
190
|
+
none: false
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
hash: 3
|
195
|
+
segments:
|
196
|
+
- 0
|
197
|
+
version: "0"
|
198
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
|
+
none: false
|
200
|
+
requirements:
|
201
|
+
- - ">="
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
hash: 3
|
204
|
+
segments:
|
205
|
+
- 0
|
206
|
+
version: "0"
|
207
|
+
requirements: []
|
208
|
+
|
209
|
+
rubyforge_project: confetti
|
210
|
+
rubygems_version: 1.3.7
|
211
|
+
signing_key:
|
212
|
+
specification_version: 3
|
213
|
+
summary: Generate mobile app config files
|
214
|
+
test_files:
|
215
|
+
- features/android.feature
|
216
|
+
- features/blackberry.feature
|
217
|
+
- features/command_line.feature
|
218
|
+
- features/ios.feature
|
219
|
+
- features/step_definitions/aruba_ext_steps.rb
|
220
|
+
- features/support/setup.rb
|
221
|
+
- features/symbian.wrt.feature
|
222
|
+
- features/webos.feature
|
223
|
+
- spec/config/config_author_spec.rb
|
224
|
+
- spec/config/config_content_spec.rb
|
225
|
+
- spec/config/config_feature_spec.rb
|
226
|
+
- spec/config/config_icon_spec.rb
|
227
|
+
- spec/config/config_license_spec.rb
|
228
|
+
- spec/config/config_name_spec.rb
|
229
|
+
- spec/config/config_preference_spec.rb
|
230
|
+
- spec/config_spec.rb
|
231
|
+
- spec/fixtures/AndroidManifest_expected.xml
|
232
|
+
- spec/fixtures/android_manifest_spec.xml
|
233
|
+
- spec/fixtures/android_strings_expected.xml
|
234
|
+
- spec/fixtures/android_strings_spec.xml
|
235
|
+
- spec/fixtures/appinfo_expected.json
|
236
|
+
- spec/fixtures/blackberry_widget_config_expected.xml
|
237
|
+
- spec/fixtures/blackberry_widget_config_spec.xml
|
238
|
+
- spec/fixtures/config.xml
|
239
|
+
- spec/fixtures/ios_info_expected.plist
|
240
|
+
- spec/fixtures/ios_info_spec.plist
|
241
|
+
- spec/fixtures/symbian_wrt_info_expected.plist
|
242
|
+
- spec/fixtures/symbian_wrt_info_spec.plist
|
243
|
+
- spec/fixtures/webos_appinfo_spec.json
|
244
|
+
- spec/helpers_spec.rb
|
245
|
+
- spec/integration_spec.rb
|
246
|
+
- spec/spec_helper.rb
|
247
|
+
- spec/template_spec.rb
|
248
|
+
- spec/templates/android_manifest_spec.rb
|
249
|
+
- spec/templates/android_strings_spec.rb
|
250
|
+
- spec/templates/base_spec.rb
|
251
|
+
- spec/templates/blackberry_widget_config_spec.rb
|
252
|
+
- spec/templates/ios_info_spec.rb
|
253
|
+
- spec/templates/java_checks_spec.rb
|
254
|
+
- spec/templates/symbian_wrt_info_spec.rb
|
255
|
+
- spec/templates/webos_appinfo_spec.rb
|
256
|
+
- spec/typedset_spec.rb
|