ubiquo 0.9.0.b4 → 0.9.0.b5
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 -4
- data/VERSION +1 -1
- data/lib/ubiquo/template.erb +5 -14
- data/ubiquo.gemspec +2 -5
- metadata +6 -24
data/Rakefile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# encoding: utf-8
|
2
2
|
require 'rubygems'
|
3
3
|
require 'rake'
|
4
4
|
|
@@ -21,9 +21,6 @@ begin
|
|
21
21
|
"Ramon Salvadó",
|
22
22
|
"Arnau Sánchez"
|
23
23
|
]
|
24
|
-
# journey dependency: temporal due to dependencies issue:
|
25
|
-
# http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released#comment-29814
|
26
|
-
gem.add_dependency(%q<journey>, '= 1.0.0.rc1')
|
27
24
|
gem.add_dependency(%q<rails>, '~> 3.2.0.rc2')
|
28
25
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
29
26
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.0.
|
1
|
+
0.9.0.b5
|
data/lib/ubiquo/template.erb
CHANGED
@@ -86,7 +86,7 @@ doc/api
|
|
86
86
|
doc/app
|
87
87
|
CODE
|
88
88
|
initializer 'ubiquo_config.rb', <<-CODE
|
89
|
-
Ubiquo::
|
89
|
+
Ubiquo::Settings.set do |config|
|
90
90
|
config.app_name = "#{appname}"
|
91
91
|
config.app_title = "#{appname.gsub(/_/, " ").capitalize}"
|
92
92
|
config.app_description = "#{appname.gsub(/_/, " ").capitalize}"
|
@@ -233,26 +233,15 @@ case choosen_adapter
|
|
233
233
|
when "sqlite" then file 'config/database.yml', sqlite3
|
234
234
|
else file 'config/database.yml', postgresql
|
235
235
|
end
|
236
|
-
# gnuine routes.rb
|
237
|
-
ubiquo_routes = selected_plugins.map do |plugin|
|
238
|
-
" #map.from_plugin :#{plugin}"
|
239
|
-
end.join("\n")
|
240
236
|
file 'config/routes.rb', <<-CODE
|
241
237
|
#{appname.camelize}::Application.routes.draw do
|
242
|
-
|
243
|
-
#ActionController::Routing::Routes.draw do |map|
|
238
|
+
mount Ubiquo::Engine => '/ubiquo'
|
244
239
|
|
245
240
|
# map.namespace :ubiquo do |ubiquo|
|
246
241
|
# end
|
247
242
|
|
248
243
|
# Translate::Routes.translation_ui(map) unless Rails.env.production?
|
249
|
-
|
250
|
-
#{ubiquo_routes}
|
251
|
-
|
252
|
-
############# default routes
|
253
|
-
#map.connect ':controller/:action/:id'
|
254
|
-
#map.connect ':controller/:action/:id.:format'
|
255
|
-
#end
|
244
|
+
end
|
256
245
|
CODE
|
257
246
|
# default rails environment.rb
|
258
247
|
ubiquo_branch = <%= @opts[:template] == :edge ? 'nil' : "'0.8-stable'" %>
|
@@ -312,6 +301,8 @@ end
|
|
312
301
|
#{ubiquo_gems}
|
313
302
|
<% end %>
|
314
303
|
|
304
|
+
gem "paperclip", "~> 2.4.5"
|
305
|
+
gem "exception_notifier", "~> 1.0.0"
|
315
306
|
|
316
307
|
<% if @opts[:profile] == :complete # used in i18n %>
|
317
308
|
#gem 'routing-filter', '~> 0.2.4', :require => false
|
data/ubiquo.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "ubiquo"
|
8
|
-
s.version = "0.9.0.
|
8
|
+
s.version = "0.9.0.b5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Albert Callarisa", "Jordi Beltran", "Bernat Foj", "Eric Garc\303\255a", "Felip Ladr\303\263n", "David Lozano", "Antoni Reina", "Ramon Salvad\303\263", "Arnau S\303\241nchez"]
|
12
|
-
s.date = "2012-01-
|
12
|
+
s.date = "2012-01-13"
|
13
13
|
s.description = "This gem provides a command-line interface to speed up the creation of ubiquo based apps."
|
14
14
|
s.email = "rsalvado@gnuine.com"
|
15
15
|
s.executables = ["ubiquo"]
|
@@ -43,14 +43,11 @@ Gem::Specification.new do |s|
|
|
43
43
|
s.specification_version = 3
|
44
44
|
|
45
45
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
46
|
-
s.add_runtime_dependency(%q<journey>, ["= 1.0.0.rc1"])
|
47
46
|
s.add_runtime_dependency(%q<rails>, ["~> 3.2.0.rc2"])
|
48
47
|
else
|
49
|
-
s.add_dependency(%q<journey>, ["= 1.0.0.rc1"])
|
50
48
|
s.add_dependency(%q<rails>, ["~> 3.2.0.rc2"])
|
51
49
|
end
|
52
50
|
else
|
53
|
-
s.add_dependency(%q<journey>, ["= 1.0.0.rc1"])
|
54
51
|
s.add_dependency(%q<rails>, ["~> 3.2.0.rc2"])
|
55
52
|
end
|
56
53
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ubiquo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 237
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
9
|
- 0
|
10
10
|
- b
|
11
|
-
-
|
12
|
-
version: 0.9.0.
|
11
|
+
- 5
|
12
|
+
version: 0.9.0.b5
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Albert Callarisa
|
@@ -25,30 +25,12 @@ autorequire:
|
|
25
25
|
bindir: bin
|
26
26
|
cert_chain: []
|
27
27
|
|
28
|
-
date: 2012-01-
|
28
|
+
date: 2012-01-13 00:00:00 Z
|
29
29
|
dependencies:
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: journey
|
32
|
-
prerelease: false
|
33
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
|
-
requirements:
|
36
|
-
- - "="
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
hash: 15424055
|
39
|
-
segments:
|
40
|
-
- 1
|
41
|
-
- 0
|
42
|
-
- 0
|
43
|
-
- rc
|
44
|
-
- 1
|
45
|
-
version: 1.0.0.rc1
|
46
|
-
type: :runtime
|
47
|
-
version_requirements: *id001
|
48
30
|
- !ruby/object:Gem::Dependency
|
49
31
|
name: rails
|
50
32
|
prerelease: false
|
51
|
-
requirement: &
|
33
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
52
34
|
none: false
|
53
35
|
requirements:
|
54
36
|
- - ~>
|
@@ -62,7 +44,7 @@ dependencies:
|
|
62
44
|
- 2
|
63
45
|
version: 3.2.0.rc2
|
64
46
|
type: :runtime
|
65
|
-
version_requirements: *
|
47
|
+
version_requirements: *id001
|
66
48
|
description: This gem provides a command-line interface to speed up the creation of ubiquo based apps.
|
67
49
|
email: rsalvado@gnuine.com
|
68
50
|
executables:
|