ubiquo 0.3.1 → 0.3.2
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/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/ubiquo/template.erb +1 -1
- data/lib/ubiquo.rb +3 -3
- data/test/fixtures/template.erb +1 -1
- data/ubiquo.gemspec +9 -9
- metadata +7 -20
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/lib/ubiquo/template.erb
CHANGED
@@ -214,7 +214,7 @@ file 'config/environment.rb', <<-CODE
|
|
214
214
|
# Be sure to restart your server when you modify this file
|
215
215
|
|
216
216
|
# Specifies gem version of Rails to use when vendor/rails is not present
|
217
|
-
RAILS_GEM_VERSION = '2.3.
|
217
|
+
RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
|
218
218
|
|
219
219
|
# Bootstrap the Rails environment, frameworks, and default configuration
|
220
220
|
require File.join(File.dirname(__FILE__), 'boot')
|
data/lib/ubiquo.rb
CHANGED
@@ -12,8 +12,8 @@ module Ubiquo
|
|
12
12
|
options = Options.new(arguments)
|
13
13
|
options = options.merge(env_opts) if env_opts
|
14
14
|
|
15
|
-
unless Gem.available?('rails', '2.3.
|
16
|
-
$stderr.puts "Sorry ubiquo needs rails 2.3.
|
15
|
+
unless Gem.available?('rails', '2.3.8')
|
16
|
+
$stderr.puts "Sorry ubiquo needs rails 2.3.8 to work properly."
|
17
17
|
options[:show_help] = true
|
18
18
|
end
|
19
19
|
|
@@ -49,7 +49,7 @@ module Ubiquo
|
|
49
49
|
file.write Generator.build_template(options, skeleton)
|
50
50
|
end
|
51
51
|
tpl.sync=true
|
52
|
-
system("rails _2.3.
|
52
|
+
system("rails _2.3.8_ -m #{tpl.path} #{options[:app_name]}")
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
data/test/fixtures/template.erb
CHANGED
@@ -215,7 +215,7 @@ file 'config/environment.rb', <<-CODE
|
|
215
215
|
# Be sure to restart your server when you modify this file
|
216
216
|
|
217
217
|
# Specifies gem version of Rails to use when vendor/rails is not present
|
218
|
-
RAILS_GEM_VERSION = '2.3.
|
218
|
+
RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
|
219
219
|
|
220
220
|
# Bootstrap the Rails environment, frameworks, and default configuration
|
221
221
|
require File.join(File.dirname(__FILE__), 'boot')
|
data/ubiquo.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ubiquo}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Albert Callarisa", "Bernat Foj", "Eric Garc\303\255a", "Felip Ladr\303\263n", "Antoni Reina", "Ramon Salvad\303\263", "Arnau S\303\241nchez"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-08-04}
|
13
13
|
s.default_executable = %q{ubiquo}
|
14
14
|
s.description = %q{This gem provides a command-line application to make the creation of ubiquo based applications fast and easy.}
|
15
15
|
s.email = %q{rsalvado@gnuine.com}
|
@@ -39,31 +39,31 @@ Gem::Specification.new do |s|
|
|
39
39
|
s.homepage = %q{http://www.ubiquo.me}
|
40
40
|
s.rdoc_options = ["--charset=UTF-8"]
|
41
41
|
s.require_paths = ["lib"]
|
42
|
-
s.rubygems_version = %q{1.3.
|
42
|
+
s.rubygems_version = %q{1.3.6}
|
43
43
|
s.summary = %q{command line application for building ubiquo based applications.}
|
44
44
|
s.test_files = [
|
45
45
|
"test/helper.rb",
|
46
|
-
"test/ubiquo/
|
47
|
-
"test/ubiquo/
|
46
|
+
"test/ubiquo/options_test.rb",
|
47
|
+
"test/ubiquo/generator_test.rb"
|
48
48
|
]
|
49
49
|
|
50
50
|
if s.respond_to? :specification_version then
|
51
51
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
52
52
|
s.specification_version = 3
|
53
53
|
|
54
|
-
if Gem::Version.new(Gem::
|
55
|
-
s.add_runtime_dependency(%q<rails>, ["= 2.3.
|
54
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
55
|
+
s.add_runtime_dependency(%q<rails>, ["= 2.3.8"])
|
56
56
|
s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
|
57
57
|
s.add_development_dependency(%q<highline>, [">= 1.5.2"])
|
58
58
|
s.add_development_dependency(%q<ya2yaml>, [">= 0.26"])
|
59
59
|
else
|
60
|
-
s.add_dependency(%q<rails>, ["= 2.3.
|
60
|
+
s.add_dependency(%q<rails>, ["= 2.3.8"])
|
61
61
|
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
62
62
|
s.add_dependency(%q<highline>, [">= 1.5.2"])
|
63
63
|
s.add_dependency(%q<ya2yaml>, [">= 0.26"])
|
64
64
|
end
|
65
65
|
else
|
66
|
-
s.add_dependency(%q<rails>, ["= 2.3.
|
66
|
+
s.add_dependency(%q<rails>, ["= 2.3.8"])
|
67
67
|
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
68
68
|
s.add_dependency(%q<highline>, [">= 1.5.2"])
|
69
69
|
s.add_dependency(%q<ya2yaml>, [">= 0.26"])
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ubiquo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 17
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
8
|
+
- 2
|
9
|
+
version: 0.3.2
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Albert Callarisa
|
@@ -21,34 +20,30 @@ autorequire:
|
|
21
20
|
bindir: bin
|
22
21
|
cert_chain: []
|
23
22
|
|
24
|
-
date: 2010-
|
23
|
+
date: 2010-08-04 00:00:00 +02:00
|
25
24
|
default_executable: ubiquo
|
26
25
|
dependencies:
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: rails
|
29
28
|
prerelease: false
|
30
29
|
requirement: &id001 !ruby/object:Gem::Requirement
|
31
|
-
none: false
|
32
30
|
requirements:
|
33
31
|
- - "="
|
34
32
|
- !ruby/object:Gem::Version
|
35
|
-
hash: 9
|
36
33
|
segments:
|
37
34
|
- 2
|
38
35
|
- 3
|
39
|
-
-
|
40
|
-
version: 2.3.
|
36
|
+
- 8
|
37
|
+
version: 2.3.8
|
41
38
|
type: :runtime
|
42
39
|
version_requirements: *id001
|
43
40
|
- !ruby/object:Gem::Dependency
|
44
41
|
name: mocha
|
45
42
|
prerelease: false
|
46
43
|
requirement: &id002 !ruby/object:Gem::Requirement
|
47
|
-
none: false
|
48
44
|
requirements:
|
49
45
|
- - ">="
|
50
46
|
- !ruby/object:Gem::Version
|
51
|
-
hash: 43
|
52
47
|
segments:
|
53
48
|
- 0
|
54
49
|
- 9
|
@@ -60,11 +55,9 @@ dependencies:
|
|
60
55
|
name: highline
|
61
56
|
prerelease: false
|
62
57
|
requirement: &id003 !ruby/object:Gem::Requirement
|
63
|
-
none: false
|
64
58
|
requirements:
|
65
59
|
- - ">="
|
66
60
|
- !ruby/object:Gem::Version
|
67
|
-
hash: 7
|
68
61
|
segments:
|
69
62
|
- 1
|
70
63
|
- 5
|
@@ -76,11 +69,9 @@ dependencies:
|
|
76
69
|
name: ya2yaml
|
77
70
|
prerelease: false
|
78
71
|
requirement: &id004 !ruby/object:Gem::Requirement
|
79
|
-
none: false
|
80
72
|
requirements:
|
81
73
|
- - ">="
|
82
74
|
- !ruby/object:Gem::Version
|
83
|
-
hash: 63
|
84
75
|
segments:
|
85
76
|
- 0
|
86
77
|
- 26
|
@@ -123,31 +114,27 @@ rdoc_options:
|
|
123
114
|
require_paths:
|
124
115
|
- lib
|
125
116
|
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
-
none: false
|
127
117
|
requirements:
|
128
118
|
- - ">="
|
129
119
|
- !ruby/object:Gem::Version
|
130
|
-
hash: 3
|
131
120
|
segments:
|
132
121
|
- 0
|
133
122
|
version: "0"
|
134
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
-
none: false
|
136
124
|
requirements:
|
137
125
|
- - ">="
|
138
126
|
- !ruby/object:Gem::Version
|
139
|
-
hash: 3
|
140
127
|
segments:
|
141
128
|
- 0
|
142
129
|
version: "0"
|
143
130
|
requirements: []
|
144
131
|
|
145
132
|
rubyforge_project:
|
146
|
-
rubygems_version: 1.3.
|
133
|
+
rubygems_version: 1.3.6
|
147
134
|
signing_key:
|
148
135
|
specification_version: 3
|
149
136
|
summary: command line application for building ubiquo based applications.
|
150
137
|
test_files:
|
151
138
|
- test/helper.rb
|
152
|
-
- test/ubiquo/generator_test.rb
|
153
139
|
- test/ubiquo/options_test.rb
|
140
|
+
- test/ubiquo/generator_test.rb
|