dump 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +13 -0
- data/.gitignore +12 -0
- data/LICENSE.txt +20 -0
- data/README.markdown +250 -0
- data/dump.gemspec +22 -0
- data/lib/dump.rb +3 -0
- data/lib/dump/capistrano.rb +1 -0
- data/lib/dump/railtie.rb +8 -0
- data/lib/dump_rake.rb +85 -0
- data/lib/dump_rake/archive_tar_minitar_fix.rb +8 -0
- data/lib/dump_rake/assets.rb +22 -0
- data/lib/dump_rake/continious_timeout.rb +38 -0
- data/lib/dump_rake/dump.rb +175 -0
- data/lib/dump_rake/dump_reader.rb +289 -0
- data/lib/dump_rake/dump_writer.rb +119 -0
- data/lib/dump_rake/env.rb +139 -0
- data/lib/dump_rake/env/filter.rb +26 -0
- data/lib/dump_rake/rails_root.rb +12 -0
- data/lib/dump_rake/table_manipulation.rb +131 -0
- data/lib/generators/assets_config/assets_config_generator.rb +16 -0
- data/lib/generators/assets_config/templates/assets +8 -0
- data/lib/tasks/assets.rake +17 -0
- data/lib/tasks/dump.rake +27 -0
- data/recipes/dump.rb +343 -0
- data/script/update_readme +21 -0
- data/spec/.gitignore +1 -0
- data/spec/.tmignore +1 -0
- data/spec/cycle_spec.rb +229 -0
- data/spec/db/database.example.yml +19 -0
- data/spec/db/schema.rb +7 -0
- data/spec/dummy-3.1.3/.gitignore +15 -0
- data/spec/dummy-3.1.3/.rspec +1 -0
- data/spec/dummy-3.1.3/Gemfile +23 -0
- data/spec/dummy-3.1.3/Gemfile.lock +159 -0
- data/spec/dummy-3.1.3/README +261 -0
- data/spec/dummy-3.1.3/Rakefile +7 -0
- data/spec/dummy-3.1.3/app/assets/images/rails.png +0 -0
- data/spec/dummy-3.1.3/app/assets/javascripts/application.js +9 -0
- data/spec/dummy-3.1.3/app/assets/stylesheets/application.css +7 -0
- data/spec/dummy-3.1.3/app/controllers/application_controller.rb +3 -0
- data/spec/dummy-3.1.3/app/helpers/application_helper.rb +2 -0
- data/spec/dummy-3.1.3/app/mailers/.gitkeep +0 -0
- data/spec/dummy-3.1.3/app/models/.gitkeep +0 -0
- data/spec/dummy-3.1.3/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy-3.1.3/config.ru +4 -0
- data/spec/dummy-3.1.3/config/application.rb +54 -0
- data/spec/dummy-3.1.3/config/boot.rb +6 -0
- data/spec/dummy-3.1.3/config/database.yml +25 -0
- data/spec/dummy-3.1.3/config/environment.rb +5 -0
- data/spec/dummy-3.1.3/config/environments/development.rb +30 -0
- data/spec/dummy-3.1.3/config/environments/production.rb +60 -0
- data/spec/dummy-3.1.3/config/environments/test.rb +39 -0
- data/spec/dummy-3.1.3/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy-3.1.3/config/initializers/inflections.rb +10 -0
- data/spec/dummy-3.1.3/config/initializers/mime_types.rb +5 -0
- data/spec/dummy-3.1.3/config/initializers/secret_token.rb +7 -0
- data/spec/dummy-3.1.3/config/initializers/session_store.rb +8 -0
- data/spec/dummy-3.1.3/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy-3.1.3/config/locales/en.yml +5 -0
- data/spec/dummy-3.1.3/config/routes.rb +58 -0
- data/spec/dummy-3.1.3/db/seeds.rb +7 -0
- data/spec/dummy-3.1.3/doc/README_FOR_APP +2 -0
- data/spec/dummy-3.1.3/lib/assets/.gitkeep +0 -0
- data/spec/dummy-3.1.3/lib/tasks/.gitkeep +0 -0
- data/spec/dummy-3.1.3/log/.gitkeep +0 -0
- data/spec/dummy-3.1.3/public/404.html +26 -0
- data/spec/dummy-3.1.3/public/422.html +26 -0
- data/spec/dummy-3.1.3/public/500.html +26 -0
- data/spec/dummy-3.1.3/public/favicon.ico +0 -0
- data/spec/dummy-3.1.3/public/index.html +241 -0
- data/spec/dummy-3.1.3/public/robots.txt +5 -0
- data/spec/dummy-3.1.3/script/rails +6 -0
- data/spec/dummy-3.1.3/spec/spec_helper.rb +32 -0
- data/spec/dummy-3.1.3/vendor/assets/stylesheets/.gitkeep +0 -0
- data/spec/dummy-3.1.3/vendor/plugins/.gitkeep +0 -0
- data/spec/lib/dump_rake/dump_reader_spec.rb +638 -0
- data/spec/lib/dump_rake/dump_spec.rb +291 -0
- data/spec/lib/dump_rake/dump_writer_spec.rb +328 -0
- data/spec/lib/dump_rake/env/filter_spec.rb +56 -0
- data/spec/lib/dump_rake/env_spec.rb +139 -0
- data/spec/lib/dump_rake/rails_root_spec.rb +45 -0
- data/spec/lib/dump_rake/table_manipulation_spec.rb +256 -0
- data/spec/lib/dump_rake_spec.rb +326 -0
- data/spec/recipes/dump_spec.rb +553 -0
- data/spec/spec.opts +4 -0
- data/spec/spec_helper.rb +34 -0
- data/spec/tasks/assets_spec.rb +92 -0
- data/spec/tasks/dump_spec.rb +107 -0
- metadata +272 -0
data/spec/spec.opts
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
begin
|
2
|
+
require File.join(File.dirname(__FILE__), 'dummy-3.1.3/spec/spec_helper')
|
3
|
+
rescue LoadError => e
|
4
|
+
abort e
|
5
|
+
end
|
6
|
+
|
7
|
+
$:.unshift '../lib/dump_rake'
|
8
|
+
require 'dump_rake'
|
9
|
+
|
10
|
+
RSpec.configure do |config|
|
11
|
+
config.use_transactional_fixtures = false
|
12
|
+
config.use_instantiated_fixtures = false
|
13
|
+
config.fixture_path = DumpRake::RailsRoot + '/spec/fixtures/'
|
14
|
+
end
|
15
|
+
|
16
|
+
PLUGIN_SPEC_DIR = File.expand_path(File.dirname(__FILE__)) unless defined? PLUGIN_SPEC_DIR
|
17
|
+
ActiveRecord::Base.logger = Logger.new(File.join(DumpRake::RailsRoot, 'log/dump.log'))
|
18
|
+
|
19
|
+
DUMMY_SCHEMA_PATH = File.join(PLUGIN_SPEC_DIR, "db", "schema.rb") unless defined? DUMMY_SCHEMA_PATH
|
20
|
+
|
21
|
+
class Chicken < ActiveRecord::Base
|
22
|
+
end
|
23
|
+
|
24
|
+
def grab_output
|
25
|
+
real_stdout, $stdout = $stdout, StringIO.new
|
26
|
+
real_stderr, $stderr = $stderr, StringIO.new
|
27
|
+
begin
|
28
|
+
yield
|
29
|
+
{:stdout => $stdout.string, :stderr => $stderr.string}
|
30
|
+
ensure
|
31
|
+
$stdout = real_stdout
|
32
|
+
$stderr = real_stderr
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../spec_helper'
|
2
|
+
require "rake"
|
3
|
+
|
4
|
+
describe "rake assets" do
|
5
|
+
before do
|
6
|
+
@rake = Rake::Application.new
|
7
|
+
Rake.application = @rake
|
8
|
+
load File.dirname(__FILE__) + '/../../lib/tasks/assets.rake'
|
9
|
+
ENV['ASSETS'] = nil
|
10
|
+
end
|
11
|
+
|
12
|
+
it "should set ENV['ASSETS'] to paths from config/assets" do
|
13
|
+
data = <<-end_src
|
14
|
+
public/images/a
|
15
|
+
public/images/b
|
16
|
+
end_src
|
17
|
+
File.should_receive(:readlines).with(File.join(DumpRake::RailsRoot, 'config/assets')).and_return(StringIO.new(data).readlines)
|
18
|
+
@rake["assets"].invoke
|
19
|
+
ENV['ASSETS'].should == 'public/images/a:public/images/b'
|
20
|
+
end
|
21
|
+
|
22
|
+
it "should ignore comments in config/assets" do
|
23
|
+
data = <<-end_src
|
24
|
+
#comment
|
25
|
+
#comment
|
26
|
+
public/images/a
|
27
|
+
public/images/b
|
28
|
+
end_src
|
29
|
+
File.stub!(:readlines).and_return(StringIO.new(data).readlines)
|
30
|
+
@rake["assets"].invoke
|
31
|
+
ENV['ASSETS'].should == 'public/images/a:public/images/b'
|
32
|
+
end
|
33
|
+
|
34
|
+
it "should not change ENV['ASSETS'] if it already exists" do
|
35
|
+
data = <<-end_src
|
36
|
+
public/images/a
|
37
|
+
public/images/b
|
38
|
+
end_src
|
39
|
+
File.stub!(:readlines).and_return(StringIO.new(data).readlines)
|
40
|
+
DumpRake::Env.with_env :assets => 'public/images' do
|
41
|
+
@rake["assets"].invoke
|
42
|
+
ENV['ASSETS'].should == 'public/images'
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe "delete" do
|
47
|
+
before do
|
48
|
+
FileUtils.stub!(:remove_entry)
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should require assets task" do
|
52
|
+
@rake["assets:delete"].prerequisites.should include("assets")
|
53
|
+
end
|
54
|
+
|
55
|
+
describe "deleting existing assets" do
|
56
|
+
it "should go through each asset from config" do
|
57
|
+
ENV.stub!(:[]).with('ASSETS').and_return('images:videos')
|
58
|
+
|
59
|
+
File.should_receive(:expand_path).with('images', DumpRake::RailsRoot).and_return('')
|
60
|
+
File.should_receive(:expand_path).with('videos', DumpRake::RailsRoot).and_return('')
|
61
|
+
|
62
|
+
@rake["assets:delete"].invoke
|
63
|
+
end
|
64
|
+
|
65
|
+
it "should glob all assets and delete content" do
|
66
|
+
@assets = %w[images videos]
|
67
|
+
ENV.stub!(:[]).with('ASSETS').and_return(@assets.join(':'))
|
68
|
+
@assets.each do |asset|
|
69
|
+
mask = File.join(DumpRake::RailsRoot, asset, '*')
|
70
|
+
paths = %w[file1 file2 dir].map{ |file| File.join(DumpRake::RailsRoot, asset, file) }
|
71
|
+
Dir.should_receive(:[]).with(mask).and_return([paths[0], paths[1], paths[2]])
|
72
|
+
paths.each do |path|
|
73
|
+
FileUtils.should_receive(:remove_entry).with(path)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
@rake["assets:delete"].invoke
|
78
|
+
end
|
79
|
+
|
80
|
+
it "should not glob risky paths" do
|
81
|
+
@assets = %w[images / /private ../ ../.. ./../ dir/.. dir/../..]
|
82
|
+
ENV.stub!(:[]).with('ASSETS').and_return(@assets.join(':'))
|
83
|
+
|
84
|
+
Dir.should_receive(:[]).with(File.join(DumpRake::RailsRoot, 'images/*')).and_return([])
|
85
|
+
Dir.should_receive(:[]).with(File.join(DumpRake::RailsRoot, '*')).and_return([])
|
86
|
+
FileUtils.should_not_receive(:remove_entry)
|
87
|
+
|
88
|
+
@rake["assets:delete"].invoke
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,107 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../spec_helper'
|
2
|
+
require "rake"
|
3
|
+
|
4
|
+
describe "rake dump" do
|
5
|
+
before do
|
6
|
+
@rake = Rake::Application.new
|
7
|
+
Rake.application = @rake
|
8
|
+
load File.dirname(__FILE__) + '/../../lib/tasks/dump.rake'
|
9
|
+
Rake::Task.define_task(:environment)
|
10
|
+
end
|
11
|
+
|
12
|
+
%w[versions create restore cleanup].each do |task|
|
13
|
+
describe task do
|
14
|
+
it "should require environment task" do
|
15
|
+
@rake["dump:#{task}"].prerequisites.should include("environment")
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
describe "versions" do
|
21
|
+
before do
|
22
|
+
@task = @rake["dump:versions"]
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should call DumpRake.versions" do
|
26
|
+
DumpRake.should_receive(:versions)
|
27
|
+
@task.invoke
|
28
|
+
end
|
29
|
+
|
30
|
+
DumpRake::Env.variable_names_for_command(:versions) do |variable|
|
31
|
+
DumpRake::Env::DICTIONARY[variable].each do |name|
|
32
|
+
it "should pass version if it is set through environment variable #{name}" do
|
33
|
+
DumpRake.should_receive(:versions).with(variable => '21376')
|
34
|
+
DumpRake::Env.with_env name => '21376' do
|
35
|
+
@task.invoke
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe "create" do
|
43
|
+
before do
|
44
|
+
@task = @rake["dump:create"]
|
45
|
+
end
|
46
|
+
|
47
|
+
it "should call DumpRake.create" do
|
48
|
+
DumpRake.should_receive(:create)
|
49
|
+
@task.invoke
|
50
|
+
end
|
51
|
+
|
52
|
+
DumpRake::Env.variable_names_for_command(:create) do |variable|
|
53
|
+
DumpRake::Env::DICTIONARY[variable].each do |name|
|
54
|
+
it "should pass description if it is set through environment variable #{name}" do
|
55
|
+
DumpRake.should_receive(:create).with(variable => 'simple dump')
|
56
|
+
DumpRake::Env.with_env name => 'simple dump' do
|
57
|
+
@task.invoke
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe "restore" do
|
65
|
+
before do
|
66
|
+
@task = @rake["dump:restore"]
|
67
|
+
end
|
68
|
+
|
69
|
+
it "should call DumpRake.restore" do
|
70
|
+
DumpRake.should_receive(:restore)
|
71
|
+
@task.invoke
|
72
|
+
end
|
73
|
+
|
74
|
+
DumpRake::Env.variable_names_for_command(:restore) do |variable|
|
75
|
+
DumpRake::Env::DICTIONARY[variable].each do |name|
|
76
|
+
it "should pass version if it is set through environment variable #{name}" do
|
77
|
+
DumpRake.should_receive(:restore).with(variable => '21378')
|
78
|
+
DumpRake::Env.with_env name => '21378' do
|
79
|
+
@task.invoke
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
describe "cleanup" do
|
87
|
+
before do
|
88
|
+
@task = @rake["dump:cleanup"]
|
89
|
+
end
|
90
|
+
|
91
|
+
it "should call DumpRake.cleanup" do
|
92
|
+
DumpRake.should_receive(:cleanup)
|
93
|
+
@task.invoke
|
94
|
+
end
|
95
|
+
|
96
|
+
DumpRake::Env.variable_names_for_command(:cleanup) do |variable|
|
97
|
+
DumpRake::Env::DICTIONARY[variable].each do |name|
|
98
|
+
it "should pass number of dumps to leave if it is set through environment variable #{name}" do
|
99
|
+
DumpRake.should_receive(:versions).with(variable => '21376')
|
100
|
+
DumpRake::Env.with_env name => '21376' do
|
101
|
+
@task.invoke
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
metadata
ADDED
@@ -0,0 +1,272 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dump
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Ivan Kuchin
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2012-01-24 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: archive-tar-minitar
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - "="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 15
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
- 5
|
32
|
+
- 2
|
33
|
+
version: 0.5.2
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: progress
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 31
|
45
|
+
segments:
|
46
|
+
- 2
|
47
|
+
- 4
|
48
|
+
- 0
|
49
|
+
version: 2.4.0
|
50
|
+
type: :runtime
|
51
|
+
version_requirements: *id002
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: rspec
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 3
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
version: "0"
|
64
|
+
type: :development
|
65
|
+
version_requirements: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: sqlite3
|
68
|
+
prerelease: false
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 3
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
version: "0"
|
78
|
+
type: :development
|
79
|
+
version_requirements: *id004
|
80
|
+
description:
|
81
|
+
email:
|
82
|
+
executables: []
|
83
|
+
|
84
|
+
extensions: []
|
85
|
+
|
86
|
+
extra_rdoc_files: []
|
87
|
+
|
88
|
+
files:
|
89
|
+
- .autotest
|
90
|
+
- .gitignore
|
91
|
+
- LICENSE.txt
|
92
|
+
- README.markdown
|
93
|
+
- dump.gemspec
|
94
|
+
- lib/dump.rb
|
95
|
+
- lib/dump/capistrano.rb
|
96
|
+
- lib/dump/railtie.rb
|
97
|
+
- lib/dump_rake.rb
|
98
|
+
- lib/dump_rake/archive_tar_minitar_fix.rb
|
99
|
+
- lib/dump_rake/assets.rb
|
100
|
+
- lib/dump_rake/continious_timeout.rb
|
101
|
+
- lib/dump_rake/dump.rb
|
102
|
+
- lib/dump_rake/dump_reader.rb
|
103
|
+
- lib/dump_rake/dump_writer.rb
|
104
|
+
- lib/dump_rake/env.rb
|
105
|
+
- lib/dump_rake/env/filter.rb
|
106
|
+
- lib/dump_rake/rails_root.rb
|
107
|
+
- lib/dump_rake/table_manipulation.rb
|
108
|
+
- lib/generators/assets_config/assets_config_generator.rb
|
109
|
+
- lib/generators/assets_config/templates/assets
|
110
|
+
- lib/tasks/assets.rake
|
111
|
+
- lib/tasks/dump.rake
|
112
|
+
- recipes/dump.rb
|
113
|
+
- script/update_readme
|
114
|
+
- spec/.gitignore
|
115
|
+
- spec/.tmignore
|
116
|
+
- spec/cycle_spec.rb
|
117
|
+
- spec/db/database.example.yml
|
118
|
+
- spec/db/schema.rb
|
119
|
+
- spec/dummy-3.1.3/.gitignore
|
120
|
+
- spec/dummy-3.1.3/.rspec
|
121
|
+
- spec/dummy-3.1.3/Gemfile
|
122
|
+
- spec/dummy-3.1.3/Gemfile.lock
|
123
|
+
- spec/dummy-3.1.3/README
|
124
|
+
- spec/dummy-3.1.3/Rakefile
|
125
|
+
- spec/dummy-3.1.3/app/assets/images/rails.png
|
126
|
+
- spec/dummy-3.1.3/app/assets/javascripts/application.js
|
127
|
+
- spec/dummy-3.1.3/app/assets/stylesheets/application.css
|
128
|
+
- spec/dummy-3.1.3/app/controllers/application_controller.rb
|
129
|
+
- spec/dummy-3.1.3/app/helpers/application_helper.rb
|
130
|
+
- spec/dummy-3.1.3/app/mailers/.gitkeep
|
131
|
+
- spec/dummy-3.1.3/app/models/.gitkeep
|
132
|
+
- spec/dummy-3.1.3/app/views/layouts/application.html.erb
|
133
|
+
- spec/dummy-3.1.3/config.ru
|
134
|
+
- spec/dummy-3.1.3/config/application.rb
|
135
|
+
- spec/dummy-3.1.3/config/boot.rb
|
136
|
+
- spec/dummy-3.1.3/config/database.yml
|
137
|
+
- spec/dummy-3.1.3/config/environment.rb
|
138
|
+
- spec/dummy-3.1.3/config/environments/development.rb
|
139
|
+
- spec/dummy-3.1.3/config/environments/production.rb
|
140
|
+
- spec/dummy-3.1.3/config/environments/test.rb
|
141
|
+
- spec/dummy-3.1.3/config/initializers/backtrace_silencers.rb
|
142
|
+
- spec/dummy-3.1.3/config/initializers/inflections.rb
|
143
|
+
- spec/dummy-3.1.3/config/initializers/mime_types.rb
|
144
|
+
- spec/dummy-3.1.3/config/initializers/secret_token.rb
|
145
|
+
- spec/dummy-3.1.3/config/initializers/session_store.rb
|
146
|
+
- spec/dummy-3.1.3/config/initializers/wrap_parameters.rb
|
147
|
+
- spec/dummy-3.1.3/config/locales/en.yml
|
148
|
+
- spec/dummy-3.1.3/config/routes.rb
|
149
|
+
- spec/dummy-3.1.3/db/seeds.rb
|
150
|
+
- spec/dummy-3.1.3/doc/README_FOR_APP
|
151
|
+
- spec/dummy-3.1.3/lib/assets/.gitkeep
|
152
|
+
- spec/dummy-3.1.3/lib/tasks/.gitkeep
|
153
|
+
- spec/dummy-3.1.3/log/.gitkeep
|
154
|
+
- spec/dummy-3.1.3/public/404.html
|
155
|
+
- spec/dummy-3.1.3/public/422.html
|
156
|
+
- spec/dummy-3.1.3/public/500.html
|
157
|
+
- spec/dummy-3.1.3/public/favicon.ico
|
158
|
+
- spec/dummy-3.1.3/public/index.html
|
159
|
+
- spec/dummy-3.1.3/public/robots.txt
|
160
|
+
- spec/dummy-3.1.3/script/rails
|
161
|
+
- spec/dummy-3.1.3/spec/spec_helper.rb
|
162
|
+
- spec/dummy-3.1.3/vendor/assets/stylesheets/.gitkeep
|
163
|
+
- spec/dummy-3.1.3/vendor/plugins/.gitkeep
|
164
|
+
- spec/lib/dump_rake/dump_reader_spec.rb
|
165
|
+
- spec/lib/dump_rake/dump_spec.rb
|
166
|
+
- spec/lib/dump_rake/dump_writer_spec.rb
|
167
|
+
- spec/lib/dump_rake/env/filter_spec.rb
|
168
|
+
- spec/lib/dump_rake/env_spec.rb
|
169
|
+
- spec/lib/dump_rake/rails_root_spec.rb
|
170
|
+
- spec/lib/dump_rake/table_manipulation_spec.rb
|
171
|
+
- spec/lib/dump_rake_spec.rb
|
172
|
+
- spec/recipes/dump_spec.rb
|
173
|
+
- spec/spec.opts
|
174
|
+
- spec/spec_helper.rb
|
175
|
+
- spec/tasks/assets_spec.rb
|
176
|
+
- spec/tasks/dump_spec.rb
|
177
|
+
homepage: http://github.com/toy/dump
|
178
|
+
licenses:
|
179
|
+
- MIT
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
|
183
|
+
require_paths:
|
184
|
+
- lib
|
185
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
187
|
+
requirements:
|
188
|
+
- - ">="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
hash: 3
|
191
|
+
segments:
|
192
|
+
- 0
|
193
|
+
version: "0"
|
194
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
|
+
none: false
|
196
|
+
requirements:
|
197
|
+
- - ">="
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
hash: 3
|
200
|
+
segments:
|
201
|
+
- 0
|
202
|
+
version: "0"
|
203
|
+
requirements: []
|
204
|
+
|
205
|
+
rubyforge_project: dump
|
206
|
+
rubygems_version: 1.8.13
|
207
|
+
signing_key:
|
208
|
+
specification_version: 3
|
209
|
+
summary: Rails app rake and capistrano tasks to create and restore dumps of database and assets
|
210
|
+
test_files:
|
211
|
+
- spec/cycle_spec.rb
|
212
|
+
- spec/db/database.example.yml
|
213
|
+
- spec/db/schema.rb
|
214
|
+
- spec/dummy-3.1.3/.gitignore
|
215
|
+
- spec/dummy-3.1.3/.rspec
|
216
|
+
- spec/dummy-3.1.3/Gemfile
|
217
|
+
- spec/dummy-3.1.3/Gemfile.lock
|
218
|
+
- spec/dummy-3.1.3/README
|
219
|
+
- spec/dummy-3.1.3/Rakefile
|
220
|
+
- spec/dummy-3.1.3/app/assets/images/rails.png
|
221
|
+
- spec/dummy-3.1.3/app/assets/javascripts/application.js
|
222
|
+
- spec/dummy-3.1.3/app/assets/stylesheets/application.css
|
223
|
+
- spec/dummy-3.1.3/app/controllers/application_controller.rb
|
224
|
+
- spec/dummy-3.1.3/app/helpers/application_helper.rb
|
225
|
+
- spec/dummy-3.1.3/app/mailers/.gitkeep
|
226
|
+
- spec/dummy-3.1.3/app/models/.gitkeep
|
227
|
+
- spec/dummy-3.1.3/app/views/layouts/application.html.erb
|
228
|
+
- spec/dummy-3.1.3/config.ru
|
229
|
+
- spec/dummy-3.1.3/config/application.rb
|
230
|
+
- spec/dummy-3.1.3/config/boot.rb
|
231
|
+
- spec/dummy-3.1.3/config/database.yml
|
232
|
+
- spec/dummy-3.1.3/config/environment.rb
|
233
|
+
- spec/dummy-3.1.3/config/environments/development.rb
|
234
|
+
- spec/dummy-3.1.3/config/environments/production.rb
|
235
|
+
- spec/dummy-3.1.3/config/environments/test.rb
|
236
|
+
- spec/dummy-3.1.3/config/initializers/backtrace_silencers.rb
|
237
|
+
- spec/dummy-3.1.3/config/initializers/inflections.rb
|
238
|
+
- spec/dummy-3.1.3/config/initializers/mime_types.rb
|
239
|
+
- spec/dummy-3.1.3/config/initializers/secret_token.rb
|
240
|
+
- spec/dummy-3.1.3/config/initializers/session_store.rb
|
241
|
+
- spec/dummy-3.1.3/config/initializers/wrap_parameters.rb
|
242
|
+
- spec/dummy-3.1.3/config/locales/en.yml
|
243
|
+
- spec/dummy-3.1.3/config/routes.rb
|
244
|
+
- spec/dummy-3.1.3/db/seeds.rb
|
245
|
+
- spec/dummy-3.1.3/doc/README_FOR_APP
|
246
|
+
- spec/dummy-3.1.3/lib/assets/.gitkeep
|
247
|
+
- spec/dummy-3.1.3/lib/tasks/.gitkeep
|
248
|
+
- spec/dummy-3.1.3/log/.gitkeep
|
249
|
+
- spec/dummy-3.1.3/public/404.html
|
250
|
+
- spec/dummy-3.1.3/public/422.html
|
251
|
+
- spec/dummy-3.1.3/public/500.html
|
252
|
+
- spec/dummy-3.1.3/public/favicon.ico
|
253
|
+
- spec/dummy-3.1.3/public/index.html
|
254
|
+
- spec/dummy-3.1.3/public/robots.txt
|
255
|
+
- spec/dummy-3.1.3/script/rails
|
256
|
+
- spec/dummy-3.1.3/spec/spec_helper.rb
|
257
|
+
- spec/dummy-3.1.3/vendor/assets/stylesheets/.gitkeep
|
258
|
+
- spec/dummy-3.1.3/vendor/plugins/.gitkeep
|
259
|
+
- spec/lib/dump_rake/dump_reader_spec.rb
|
260
|
+
- spec/lib/dump_rake/dump_spec.rb
|
261
|
+
- spec/lib/dump_rake/dump_writer_spec.rb
|
262
|
+
- spec/lib/dump_rake/env/filter_spec.rb
|
263
|
+
- spec/lib/dump_rake/env_spec.rb
|
264
|
+
- spec/lib/dump_rake/rails_root_spec.rb
|
265
|
+
- spec/lib/dump_rake/table_manipulation_spec.rb
|
266
|
+
- spec/lib/dump_rake_spec.rb
|
267
|
+
- spec/recipes/dump_spec.rb
|
268
|
+
- spec/spec.opts
|
269
|
+
- spec/spec_helper.rb
|
270
|
+
- spec/tasks/assets_spec.rb
|
271
|
+
- spec/tasks/dump_spec.rb
|
272
|
+
has_rdoc:
|