orange-ruby 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- orange-ruby (0.0.1)
4
+ orange-ruby (0.1.0)
5
5
  rails (~> 3.0.3)
6
6
  thor
7
7
 
@@ -1,5 +1,5 @@
1
1
  module Orange
2
2
  module Ruby
3
- VERSION = "0.0.1"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
@@ -17,10 +17,14 @@ gem 'hoptoad_notifier'
17
17
  ## Development gems
18
18
  gem 'annotate'
19
19
  gem 'engineyard', :require => false, :group => [ :development ]
20
+ gem 'rails3-generators', :group => [ :development ]
21
+ gem 'jquery-rails', :group => [ :development ]
20
22
  gem 'db-entropy', :require => false
21
23
  gem 'ruby-debug', :group => [ :development, :test ]
22
24
  gem 'rake-hooks', :require => false, :group => [ :development ]
23
25
  gem 'factory_girl_generator', :group => [ :development, :test]
26
+ gem 'shoulda', :group => [ :development, :test]
27
+
24
28
 
25
29
  ## Test Gems
26
30
  gem 'evergreen', :require => 'evergreen/rails'
@@ -0,0 +1,4 @@
1
+ # Configure jQuery
2
+ say "\n-- Processing jQuery ...\n"
3
+
4
+ generate 'jquery:install --ui'
@@ -18,20 +18,4 @@ robots_txt = <<-ROBOTS.gsub(/^ {2}/, '')
18
18
 
19
19
  ROBOTS
20
20
 
21
- create_file "public/robots.txt", robots_txt
22
-
23
- # Remove Prototype
24
- log "\n Removing Prototype ...\n"
25
- remove_file "public/javascripts/controls.js"
26
- remove_file "public/javascripts/dragdrop.js"
27
- remove_file "public/javascripts/effects.js"
28
- remove_file "public/javascripts/prototype.js"
29
- remove_file "public/javascripts/rails.js"
30
-
31
- # Add jQuery
32
- log "\n Adding jQuery ...\n"
33
- empty_directory 'public/javascripts/jquery'
34
- get "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", "public/javascripts/jquery/jquery.js"
35
- get "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js", "public/javascripts/jquery/jquery-ui.js"
36
- `curl http://github.com/rails/jquery-ujs/raw/master/src/rails.js -o public/javascripts/jquery/rails.js`
37
- gsub_file 'config/application.rb', 'config.action_view.javascript_expansions[:defaults] = %w()', 'config.action_view.javascript_expansions[:defaults] = %w(jquery/jquery.js jquery/jquery-ui.js jquery/rails.js)'
21
+ create_file "public/robots.txt", robots_txt
@@ -43,6 +43,7 @@ apply File.join(File.dirname(__FILE__),'preclean.rb')
43
43
  apply File.join(File.dirname(__FILE__),'gemfile.rb')
44
44
  apply File.join(File.dirname(__FILE__),'rvm.rb')
45
45
  apply File.join(File.dirname(__FILE__),'public.rb')
46
+ apply File.join(File.dirname(__FILE__),'jquery.rb')
46
47
  apply File.join(File.dirname(__FILE__),'configy.rb')
47
48
  apply File.join(File.dirname(__FILE__),'hacks.rb')
48
49
  apply File.join(File.dirname(__FILE__),'core_extensions.rb')
@@ -57,6 +58,9 @@ apply File.join(File.dirname(__FILE__),'database.rb')
57
58
  apply File.join(File.dirname(__FILE__),'ci.rb')
58
59
  apply File.join(File.dirname(__FILE__),'git.rb')
59
60
 
61
+ rake 'db:migrate'
62
+ rake
63
+
60
64
  # Final housekeeping
61
65
 
62
66
  docs = <<-DOCS
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orange-ruby
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 0
9
8
  - 1
10
- version: 0.0.1
9
+ - 0
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - F/ Interactive
@@ -154,6 +154,7 @@ files:
154
154
  - templates/default/git.rb
155
155
  - templates/default/hacks.rb
156
156
  - templates/default/hoptoad.rb
157
+ - templates/default/jquery.rb
157
158
  - templates/default/keypair.rb
158
159
  - templates/default/layout.rb
159
160
  - templates/default/newrelic.rb