vigetlabs-provisional 2.1.3 → 2.1.4
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/VERSION.yml +1 -1
- data/lib/provisional/templates/viget.rb +39 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
@@ -7,6 +7,7 @@ rake 'rails:freeze:gems'
|
|
7
7
|
gem 'mocha', :version => '>= 0.9.5'
|
8
8
|
gem 'thoughtbot-factory_girl', :lib => 'factory_girl', :source => 'http://gems.github.com', :version => '>= 1.2.0'
|
9
9
|
gem 'thoughtbot-shoulda', :lib => 'shoulda', :source => 'http://gems.github.com', :version => '>= 2.10.1'
|
10
|
+
gem 'webrat'
|
10
11
|
rake 'gems:install gems:unpack'
|
11
12
|
|
12
13
|
# install plugins
|
@@ -15,12 +16,13 @@ plugin 'jrails', :git => 'git://github.com/aaronchi/jrails.git'
|
|
15
16
|
plugin 'model_generator_with_factories', :git => 'git://github.com/vigetlabs/model_generator_with_factories.git'
|
16
17
|
plugin 'viget_deployment', :git => 'git://github.com/vigetlabs/viget_deployment.git'
|
17
18
|
plugin 'vl_cruise_control', :git => 'git://github.com/vigetlabs/vl_cruise_control.git'
|
19
|
+
plugin 'asset_packager', :git => 'git://github.com/sbecker/asset_packager.git'
|
18
20
|
|
19
21
|
# generate viget_deployment stuff
|
20
22
|
generate :viget_deployment
|
21
23
|
|
22
24
|
# clean up
|
23
|
-
run 'rm -rf public/images/rails.png log/* test/fixtures
|
25
|
+
run 'rm -rf public/images/rails.png log/* test/fixtures'
|
24
26
|
inside 'public' do
|
25
27
|
run 'rm -f index.html favicon.ico robots.txt'
|
26
28
|
end
|
@@ -28,8 +30,44 @@ inside 'public/javascripts' do
|
|
28
30
|
run 'rm -f dragdrop.js controls.js effects.js prototype.js'
|
29
31
|
end
|
30
32
|
|
33
|
+
# Copy database.yml for distribution use
|
34
|
+
run 'cp config/database.yml config/database.yml.example'
|
35
|
+
|
36
|
+
# Set up .gitignore files
|
37
|
+
file '.gitignore', %q[
|
38
|
+
.DS_Store
|
39
|
+
coverage/*
|
40
|
+
log/*.log
|
41
|
+
db/*.db
|
42
|
+
db/*.sqlite3
|
43
|
+
tmp/**/*
|
44
|
+
config/database.yml
|
45
|
+
END
|
46
|
+
run 'touch tmp/.gitignore log/.gitignore vendor/.gitignore'
|
47
|
+
]
|
48
|
+
|
31
49
|
# install jrails javascripts
|
32
50
|
rake 'jrails:install:javascripts'
|
33
51
|
|
34
52
|
# setup shoulda rake tasks
|
35
53
|
file 'lib/tasks/shoulda.rake', %q[require 'shoulda/tasks']
|
54
|
+
|
55
|
+
# Setup testing
|
56
|
+
file 'test/test_helper.rb', %q[
|
57
|
+
$:.push(File.dirname(__FILE__))
|
58
|
+
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
59
|
+
require 'test_help'
|
60
|
+
require 'factory_girl'
|
61
|
+
require 'mocha'
|
62
|
+
require 'webrat'
|
63
|
+
|
64
|
+
Webrat.configure do |config|
|
65
|
+
config.mode = :rails
|
66
|
+
end
|
67
|
+
|
68
|
+
class ActiveSupport::TestCase
|
69
|
+
self.use_transactional_fixtures = true
|
70
|
+
self.use_instantiated_fixtures = false
|
71
|
+
fixtures :all
|
72
|
+
end
|
73
|
+
]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vigetlabs-provisional
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Cornick
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-14 00:00:00 -07:00
|
13
13
|
default_executable: provisional
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|