ubiquo 0.5.5 → 0.6.3
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 +3 -0
- data/VERSION +1 -1
- data/lib/ubiquo/template.erb +3 -14
- data/ubiquo.gemspec +12 -10
- metadata +29 -13
data/Rakefile
CHANGED
@@ -12,9 +12,11 @@ begin
|
|
12
12
|
gem.homepage = "http://www.ubiquo.me"
|
13
13
|
gem.authors = [
|
14
14
|
"Albert Callarisa",
|
15
|
+
"Jordi Beltran",
|
15
16
|
"Bernat Foj",
|
16
17
|
"Eric García",
|
17
18
|
"Felip Ladrón",
|
19
|
+
"David Lozano",
|
18
20
|
"Antoni Reina",
|
19
21
|
"Ramon Salvadó",
|
20
22
|
"Arnau Sánchez"
|
@@ -23,6 +25,7 @@ begin
|
|
23
25
|
gem.add_dependency(%q<i18n>, '< 0.5.0')
|
24
26
|
gem.add_dependency(%q<lockfile>, '>= 1.4.3')
|
25
27
|
gem.add_dependency(%q<bundler>, '>= 1.0.10')
|
28
|
+
gem.add_dependency(%q<rdoc>, '>= 2.4.2')
|
26
29
|
|
27
30
|
gem.add_development_dependency(%q<mocha>, '>= 0.9.8')
|
28
31
|
gem.add_development_dependency(%q<highline>, '>= 1.5.2')
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.6.3
|
data/lib/ubiquo/template.erb
CHANGED
@@ -11,6 +11,7 @@ rest_plugins = %w[
|
|
11
11
|
ubiquo_jobs
|
12
12
|
ubiquo_i18n
|
13
13
|
ubiquo_activity
|
14
|
+
ubiquo_categories
|
14
15
|
ubiquo_versions
|
15
16
|
ubiquo_guides
|
16
17
|
ubiquo_design
|
@@ -104,7 +105,6 @@ require 'tasks/rails'
|
|
104
105
|
CODE
|
105
106
|
|
106
107
|
# Initializer for ubiquo crontab
|
107
|
-
<% if @opts[:template] == :edge %>
|
108
108
|
initializer 'ubiquo_crontab.rb', <<-CODE
|
109
109
|
# -*- coding: utf-8 -*-
|
110
110
|
Ubiquo::Cron::Crontab.schedule do |cron|
|
@@ -146,7 +146,6 @@ Ubiquo::Cron::Crontab.schedule do |cron|
|
|
146
146
|
# cron.runner "* * * * *", "puts 6+6"
|
147
147
|
end
|
148
148
|
CODE
|
149
|
-
<% end %>
|
150
149
|
# Initializer for exception notifier
|
151
150
|
# Needs 3 params:
|
152
151
|
# appname -> Application name (Ex: test)
|
@@ -259,9 +258,6 @@ ActionController::Routing::Routes.draw do |map|
|
|
259
258
|
|
260
259
|
Translate::Routes.translation_ui(map) unless Rails.env.production?
|
261
260
|
# Ubiquo plugins routes. See routes.rb from each plugin path.
|
262
|
-
<% if @opts[:template] == :edge && @opts[:profile] == :complete %>
|
263
|
-
<%= "map.from_plugin :ubiquo_categories" %>
|
264
|
-
<% end %>
|
265
261
|
#{ubiquo_routes}
|
266
262
|
|
267
263
|
############# default routes
|
@@ -315,13 +311,9 @@ Rails::Initializer.run do |config|
|
|
315
311
|
config.i18n.default_locale = :<%= @opts[:locale] %>
|
316
312
|
end
|
317
313
|
CODE
|
318
|
-
ubiquo_branch = <%= @opts[:template] == :edge ? 'nil' : "'0.
|
314
|
+
ubiquo_branch = <%= @opts[:template] == :edge ? 'nil' : "'0.8-stable'" %>
|
319
315
|
add_plugins(selected_plugins + external_plugins, :branch => ubiquo_branch, :devel => <%= @opts[:devel] ? true : false %>)
|
320
316
|
|
321
|
-
<% if @opts[:template] == :edge && @opts[:profile] == :complete %>
|
322
|
-
add_plugins(['ubiquo_categories'], :branch => nil, :devel => <%= @opts[:devel] ? true : false %>)
|
323
|
-
<% end %>
|
324
|
-
|
325
317
|
rake("rails:update")
|
326
318
|
rake("calendardateselect:install")
|
327
319
|
rake("ubiquo:install OVERWRITE=yes")
|
@@ -380,15 +372,12 @@ gem "rails", "= 2.3.14"
|
|
380
372
|
gem "lockfile", ">= 1.4.3"
|
381
373
|
gem "i18n", "< 0.5.0"
|
382
374
|
gem "rdoc", ">= 2.4.2"
|
383
|
-
<% if @opts[:
|
375
|
+
<% if @opts[:profile] == :complete # used in i18n %>
|
384
376
|
gem 'routing-filter', '~> 0.2.4', :require => false
|
385
377
|
<% end %>
|
386
378
|
|
387
379
|
platforms :mri_18 do
|
388
380
|
gem "#{adapter_gem}"
|
389
|
-
<% if @opts[:template] == :stable %>
|
390
|
-
gem "daemons", "~> 1.1.2"
|
391
|
-
<% end %>
|
392
381
|
end
|
393
382
|
|
394
383
|
platforms :jruby do
|
data/ubiquo.gemspec
CHANGED
@@ -4,15 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.
|
7
|
+
s.name = "ubiquo"
|
8
|
+
s.version = "0.6.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Albert Callarisa", "Bernat Foj", "Eric
|
12
|
-
s.date =
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.email = %q{rsalvado@gnuine.com}
|
11
|
+
s.authors = ["Albert Callarisa", "Jordi Beltran", "Bernat Foj", "Eric García", "Felip Ladrón", "David Lozano", "Antoni Reina", "Ramon Salvadó", "Arnau Sánchez"]
|
12
|
+
s.date = "2011-12-16"
|
13
|
+
s.description = "This gem provides a command-line interface to speed up the creation of ubiquo based apps."
|
14
|
+
s.email = "rsalvado@gnuine.com"
|
16
15
|
s.executables = ["ubiquo"]
|
17
16
|
s.extra_rdoc_files = [
|
18
17
|
"LICENSE",
|
@@ -35,10 +34,10 @@ Gem::Specification.new do |s|
|
|
35
34
|
"test/ubiquo/options_test.rb",
|
36
35
|
"ubiquo.gemspec"
|
37
36
|
]
|
38
|
-
s.homepage =
|
37
|
+
s.homepage = "http://www.ubiquo.me"
|
39
38
|
s.require_paths = ["lib"]
|
40
|
-
s.rubygems_version =
|
41
|
-
s.summary =
|
39
|
+
s.rubygems_version = "1.8.12"
|
40
|
+
s.summary = "command line application for building ubiquo based applications."
|
42
41
|
|
43
42
|
if s.respond_to? :specification_version then
|
44
43
|
s.specification_version = 3
|
@@ -48,6 +47,7 @@ Gem::Specification.new do |s|
|
|
48
47
|
s.add_runtime_dependency(%q<i18n>, ["< 0.5.0"])
|
49
48
|
s.add_runtime_dependency(%q<lockfile>, [">= 1.4.3"])
|
50
49
|
s.add_runtime_dependency(%q<bundler>, [">= 1.0.10"])
|
50
|
+
s.add_runtime_dependency(%q<rdoc>, [">= 2.4.2"])
|
51
51
|
s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
|
52
52
|
s.add_development_dependency(%q<highline>, [">= 1.5.2"])
|
53
53
|
s.add_development_dependency(%q<ya2yaml>, [">= 0.26"])
|
@@ -56,6 +56,7 @@ Gem::Specification.new do |s|
|
|
56
56
|
s.add_dependency(%q<i18n>, ["< 0.5.0"])
|
57
57
|
s.add_dependency(%q<lockfile>, [">= 1.4.3"])
|
58
58
|
s.add_dependency(%q<bundler>, [">= 1.0.10"])
|
59
|
+
s.add_dependency(%q<rdoc>, [">= 2.4.2"])
|
59
60
|
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
60
61
|
s.add_dependency(%q<highline>, [">= 1.5.2"])
|
61
62
|
s.add_dependency(%q<ya2yaml>, [">= 0.26"])
|
@@ -65,6 +66,7 @@ Gem::Specification.new do |s|
|
|
65
66
|
s.add_dependency(%q<i18n>, ["< 0.5.0"])
|
66
67
|
s.add_dependency(%q<lockfile>, [">= 1.4.3"])
|
67
68
|
s.add_dependency(%q<bundler>, [">= 1.0.10"])
|
69
|
+
s.add_dependency(%q<rdoc>, [">= 2.4.2"])
|
68
70
|
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
69
71
|
s.add_dependency(%q<highline>, [">= 1.5.2"])
|
70
72
|
s.add_dependency(%q<ya2yaml>, [">= 0.26"])
|
metadata
CHANGED
@@ -5,15 +5,17 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 6
|
9
|
+
- 3
|
10
|
+
version: 0.6.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Albert Callarisa
|
14
|
+
- Jordi Beltran
|
14
15
|
- Bernat Foj
|
15
16
|
- "Eric Garc\xC3\xADa"
|
16
17
|
- "Felip Ladr\xC3\xB3n"
|
18
|
+
- David Lozano
|
17
19
|
- Antoni Reina
|
18
20
|
- "Ramon Salvad\xC3\xB3"
|
19
21
|
- "Arnau S\xC3\xA1nchez"
|
@@ -21,8 +23,7 @@ autorequire:
|
|
21
23
|
bindir: bin
|
22
24
|
cert_chain: []
|
23
25
|
|
24
|
-
date: 2011-12-
|
25
|
-
default_executable: ubiquo
|
26
|
+
date: 2011-12-16 00:00:00 Z
|
26
27
|
dependencies:
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: rails
|
@@ -89,9 +90,25 @@ dependencies:
|
|
89
90
|
type: :runtime
|
90
91
|
version_requirements: *id004
|
91
92
|
- !ruby/object:Gem::Dependency
|
92
|
-
name:
|
93
|
+
name: rdoc
|
93
94
|
prerelease: false
|
94
95
|
requirement: &id005 !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
hash: 27
|
101
|
+
segments:
|
102
|
+
- 2
|
103
|
+
- 4
|
104
|
+
- 2
|
105
|
+
version: 2.4.2
|
106
|
+
type: :runtime
|
107
|
+
version_requirements: *id005
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
name: mocha
|
110
|
+
prerelease: false
|
111
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
95
112
|
none: false
|
96
113
|
requirements:
|
97
114
|
- - ">="
|
@@ -103,11 +120,11 @@ dependencies:
|
|
103
120
|
- 8
|
104
121
|
version: 0.9.8
|
105
122
|
type: :development
|
106
|
-
version_requirements: *
|
123
|
+
version_requirements: *id006
|
107
124
|
- !ruby/object:Gem::Dependency
|
108
125
|
name: highline
|
109
126
|
prerelease: false
|
110
|
-
requirement: &
|
127
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
111
128
|
none: false
|
112
129
|
requirements:
|
113
130
|
- - ">="
|
@@ -119,11 +136,11 @@ dependencies:
|
|
119
136
|
- 2
|
120
137
|
version: 1.5.2
|
121
138
|
type: :development
|
122
|
-
version_requirements: *
|
139
|
+
version_requirements: *id007
|
123
140
|
- !ruby/object:Gem::Dependency
|
124
141
|
name: ya2yaml
|
125
142
|
prerelease: false
|
126
|
-
requirement: &
|
143
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
127
144
|
none: false
|
128
145
|
requirements:
|
129
146
|
- - ">="
|
@@ -134,7 +151,7 @@ dependencies:
|
|
134
151
|
- 26
|
135
152
|
version: "0.26"
|
136
153
|
type: :development
|
137
|
-
version_requirements: *
|
154
|
+
version_requirements: *id008
|
138
155
|
description: This gem provides a command-line interface to speed up the creation of ubiquo based apps.
|
139
156
|
email: rsalvado@gnuine.com
|
140
157
|
executables:
|
@@ -160,7 +177,6 @@ files:
|
|
160
177
|
- test/ubiquo/generator_test.rb
|
161
178
|
- test/ubiquo/options_test.rb
|
162
179
|
- ubiquo.gemspec
|
163
|
-
has_rdoc: true
|
164
180
|
homepage: http://www.ubiquo.me
|
165
181
|
licenses: []
|
166
182
|
|
@@ -190,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
206
|
requirements: []
|
191
207
|
|
192
208
|
rubyforge_project:
|
193
|
-
rubygems_version: 1.
|
209
|
+
rubygems_version: 1.8.12
|
194
210
|
signing_key:
|
195
211
|
specification_version: 3
|
196
212
|
summary: command line application for building ubiquo based applications.
|