ubiquo 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/ubiquo.rb +2 -2
  3. data/ubiquo.gemspec +2 -2
  4. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/lib/ubiquo.rb CHANGED
@@ -12,7 +12,7 @@ module Ubiquo
12
12
  options = Options.new(arguments)
13
13
  options = options.merge(env_opts) if env_opts
14
14
 
15
- if `rails -v`.strip != "Rails 2.3.5"
15
+ unless Gem.available?('rails', '2.3.5')
16
16
  $stderr.puts "Sorry ubiquo needs rails 2.3.5 to work properly."
17
17
  options[:show_help] = true
18
18
  end
@@ -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 -m #{tpl.path} #{options[:app_name]}")
52
+ system("rails _2.3.5_ -m #{tpl.path} #{options[:app_name]}")
53
53
  end
54
54
  end
55
55
  end
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.0"
8
+ s.version = "0.3.1"
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-07-15}
12
+ s.date = %q{2010-07-17}
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}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ubiquo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Albert Callarisa
@@ -21,7 +21,7 @@ autorequire:
21
21
  bindir: bin
22
22
  cert_chain: []
23
23
 
24
- date: 2010-07-15 00:00:00 +02:00
24
+ date: 2010-07-17 00:00:00 +02:00
25
25
  default_executable: ubiquo
26
26
  dependencies:
27
27
  - !ruby/object:Gem::Dependency