confetti 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- confetti (0.3.8)
4
+ confetti (0.3.9)
5
5
  mustache (~> 0.11.2)
6
6
  thor (~> 0.14.3)
7
7
 
@@ -6,7 +6,11 @@ module Confetti
6
6
  end
7
7
 
8
8
  def version
9
- @config.version_string
9
+ if @config.version_string.nil? or @config.version_string.empty?
10
+ "1.0"
11
+ else
12
+ @config.version_string
13
+ end
10
14
  end
11
15
 
12
16
  def display_name
@@ -1,3 +1,3 @@
1
1
  module Confetti
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.9"
3
3
  end
@@ -60,6 +60,12 @@ describe Confetti::Template::SymbianWrtInfo do
60
60
  @template.version.should == "1.0.0"
61
61
  end
62
62
 
63
+ it "should set version correctly with not config.xml" do
64
+ @config = Confetti::Config.new
65
+ @template = @template_class.new(@config)
66
+ @template.version.should == "1.0"
67
+ end
68
+
63
69
  it "should render the correct info.plist" do
64
70
  @template.render.should == File.read("#{ fixture_dir }/symbian/symbian_wrt_info_spec.plist")
65
71
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: confetti
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 1
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 3
8
- - 8
9
- version: 0.3.8
9
+ - 9
10
+ version: 0.3.9
10
11
  platform: ruby
11
12
  authors:
12
13
  - Andrew Lunny
@@ -16,16 +17,18 @@ autorequire:
16
17
  bindir: bin
17
18
  cert_chain: []
18
19
 
19
- date: 2011-08-31 00:00:00 -07:00
20
+ date: 2011-09-09 00:00:00 -07:00
20
21
  default_executable:
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
23
24
  name: mustache
24
25
  prerelease: false
25
26
  requirement: &id001 !ruby/object:Gem::Requirement
27
+ none: false
26
28
  requirements:
27
29
  - - ~>
28
30
  - !ruby/object:Gem::Version
31
+ hash: 55
29
32
  segments:
30
33
  - 0
31
34
  - 11
@@ -37,9 +40,11 @@ dependencies:
37
40
  name: thor
38
41
  prerelease: false
39
42
  requirement: &id002 !ruby/object:Gem::Requirement
43
+ none: false
40
44
  requirements:
41
45
  - - ~>
42
46
  - !ruby/object:Gem::Version
47
+ hash: 33
43
48
  segments:
44
49
  - 0
45
50
  - 14
@@ -51,9 +56,11 @@ dependencies:
51
56
  name: rspec
52
57
  prerelease: false
53
58
  requirement: &id003 !ruby/object:Gem::Requirement
59
+ none: false
54
60
  requirements:
55
61
  - - ~>
56
62
  - !ruby/object:Gem::Version
63
+ hash: 23
57
64
  segments:
58
65
  - 2
59
66
  - 6
@@ -65,9 +72,11 @@ dependencies:
65
72
  name: cucumber
66
73
  prerelease: false
67
74
  requirement: &id004 !ruby/object:Gem::Requirement
75
+ none: false
68
76
  requirements:
69
77
  - - ">="
70
78
  - !ruby/object:Gem::Version
79
+ hash: 3
71
80
  segments:
72
81
  - 0
73
82
  version: "0"
@@ -77,9 +86,11 @@ dependencies:
77
86
  name: aruba
78
87
  prerelease: false
79
88
  requirement: &id005 !ruby/object:Gem::Requirement
89
+ none: false
80
90
  requirements:
81
91
  - - ">="
82
92
  - !ruby/object:Gem::Version
93
+ hash: 3
83
94
  segments:
84
95
  - 0
85
96
  version: "0"
@@ -194,23 +205,27 @@ rdoc_options: []
194
205
  require_paths:
195
206
  - lib
196
207
  required_ruby_version: !ruby/object:Gem::Requirement
208
+ none: false
197
209
  requirements:
198
210
  - - ">="
199
211
  - !ruby/object:Gem::Version
212
+ hash: 3
200
213
  segments:
201
214
  - 0
202
215
  version: "0"
203
216
  required_rubygems_version: !ruby/object:Gem::Requirement
217
+ none: false
204
218
  requirements:
205
219
  - - ">="
206
220
  - !ruby/object:Gem::Version
221
+ hash: 3
207
222
  segments:
208
223
  - 0
209
224
  version: "0"
210
225
  requirements: []
211
226
 
212
227
  rubyforge_project: confetti
213
- rubygems_version: 1.3.6
228
+ rubygems_version: 1.3.7
214
229
  signing_key:
215
230
  specification_version: 3
216
231
  summary: Generate mobile app config files