data_tasks 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +9 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +22 -0
- data/README.md +41 -0
- data/Rakefile +18 -0
- data/data_tasks.gemspec +28 -0
- data/lib/data_tasks/railtie.rb +11 -0
- data/lib/data_tasks/version.rb +3 -0
- data/lib/data_tasks.rb +1 -0
- data/lib/generators/data_task/USAGE +9 -0
- data/lib/generators/data_task/data_task_generator.rb +14 -0
- data/lib/generators/data_task/templates/data_task.rb +6 -0
- data/lib/tasks/data_tasks.rake +8 -0
- data/test/data_tasks_test.rb +108 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.gitkeep +0 -0
- data/test/dummy/app/models/farmer.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +66 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/data_tasks/20121128182853_add_farmer.rb +10 -0
- data/test/dummy/db/migrate/20121128182851_create_farmers.rb +9 -0
- data/test/dummy/db/schema.rb +22 -0
- data/test/dummy/lib/assets/.gitkeep +0 -0
- data/test/dummy/log/.gitkeep +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/test_helper.rb +15 -0
- metadata +182 -0
metadata
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: data_tasks
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jason Wadsworth
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-11-28 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.8
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.8
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sqlite3
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: jquery-rails
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
description: ! "\n Adds a second migration phase to a Rails project for data migrations.
|
63
|
+
Just\n like migrations, these can be run once and only once in each environment\n
|
64
|
+
\ with a single command during every deployment.\n "
|
65
|
+
email:
|
66
|
+
- jdwadsworth@gmail.com
|
67
|
+
executables: []
|
68
|
+
extensions: []
|
69
|
+
extra_rdoc_files: []
|
70
|
+
files:
|
71
|
+
- .gitignore
|
72
|
+
- Gemfile
|
73
|
+
- LICENSE.txt
|
74
|
+
- README.md
|
75
|
+
- Rakefile
|
76
|
+
- data_tasks.gemspec
|
77
|
+
- lib/data_tasks.rb
|
78
|
+
- lib/data_tasks/railtie.rb
|
79
|
+
- lib/data_tasks/version.rb
|
80
|
+
- lib/generators/data_task/USAGE
|
81
|
+
- lib/generators/data_task/data_task_generator.rb
|
82
|
+
- lib/generators/data_task/templates/data_task.rb
|
83
|
+
- lib/tasks/data_tasks.rake
|
84
|
+
- test/data_tasks_test.rb
|
85
|
+
- test/dummy/README.rdoc
|
86
|
+
- test/dummy/Rakefile
|
87
|
+
- test/dummy/app/assets/javascripts/application.js
|
88
|
+
- test/dummy/app/assets/stylesheets/application.css
|
89
|
+
- test/dummy/app/controllers/application_controller.rb
|
90
|
+
- test/dummy/app/helpers/application_helper.rb
|
91
|
+
- test/dummy/app/mailers/.gitkeep
|
92
|
+
- test/dummy/app/models/farmer.rb
|
93
|
+
- test/dummy/app/views/layouts/application.html.erb
|
94
|
+
- test/dummy/config.ru
|
95
|
+
- test/dummy/config/application.rb
|
96
|
+
- test/dummy/config/boot.rb
|
97
|
+
- test/dummy/config/database.yml
|
98
|
+
- test/dummy/config/environment.rb
|
99
|
+
- test/dummy/config/environments/development.rb
|
100
|
+
- test/dummy/config/environments/production.rb
|
101
|
+
- test/dummy/config/environments/test.rb
|
102
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
103
|
+
- test/dummy/config/initializers/inflections.rb
|
104
|
+
- test/dummy/config/initializers/mime_types.rb
|
105
|
+
- test/dummy/config/initializers/secret_token.rb
|
106
|
+
- test/dummy/config/initializers/session_store.rb
|
107
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
108
|
+
- test/dummy/config/locales/en.yml
|
109
|
+
- test/dummy/config/routes.rb
|
110
|
+
- test/dummy/db/data_tasks/20121128182853_add_farmer.rb
|
111
|
+
- test/dummy/db/migrate/20121128182851_create_farmers.rb
|
112
|
+
- test/dummy/db/schema.rb
|
113
|
+
- test/dummy/lib/assets/.gitkeep
|
114
|
+
- test/dummy/log/.gitkeep
|
115
|
+
- test/dummy/public/404.html
|
116
|
+
- test/dummy/public/422.html
|
117
|
+
- test/dummy/public/500.html
|
118
|
+
- test/dummy/public/favicon.ico
|
119
|
+
- test/dummy/script/rails
|
120
|
+
- test/test_helper.rb
|
121
|
+
homepage: https://github.com/subakva/data_tasks
|
122
|
+
licenses: []
|
123
|
+
post_install_message:
|
124
|
+
rdoc_options: []
|
125
|
+
require_paths:
|
126
|
+
- lib
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
+
none: false
|
135
|
+
requirements:
|
136
|
+
- - ! '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
requirements: []
|
140
|
+
rubyforge_project:
|
141
|
+
rubygems_version: 1.8.23
|
142
|
+
signing_key:
|
143
|
+
specification_version: 3
|
144
|
+
summary: Adds a second migration phase to a Rails project.
|
145
|
+
test_files:
|
146
|
+
- test/data_tasks_test.rb
|
147
|
+
- test/dummy/README.rdoc
|
148
|
+
- test/dummy/Rakefile
|
149
|
+
- test/dummy/app/assets/javascripts/application.js
|
150
|
+
- test/dummy/app/assets/stylesheets/application.css
|
151
|
+
- test/dummy/app/controllers/application_controller.rb
|
152
|
+
- test/dummy/app/helpers/application_helper.rb
|
153
|
+
- test/dummy/app/mailers/.gitkeep
|
154
|
+
- test/dummy/app/models/farmer.rb
|
155
|
+
- test/dummy/app/views/layouts/application.html.erb
|
156
|
+
- test/dummy/config.ru
|
157
|
+
- test/dummy/config/application.rb
|
158
|
+
- test/dummy/config/boot.rb
|
159
|
+
- test/dummy/config/database.yml
|
160
|
+
- test/dummy/config/environment.rb
|
161
|
+
- test/dummy/config/environments/development.rb
|
162
|
+
- test/dummy/config/environments/production.rb
|
163
|
+
- test/dummy/config/environments/test.rb
|
164
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
165
|
+
- test/dummy/config/initializers/inflections.rb
|
166
|
+
- test/dummy/config/initializers/mime_types.rb
|
167
|
+
- test/dummy/config/initializers/secret_token.rb
|
168
|
+
- test/dummy/config/initializers/session_store.rb
|
169
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
170
|
+
- test/dummy/config/locales/en.yml
|
171
|
+
- test/dummy/config/routes.rb
|
172
|
+
- test/dummy/db/data_tasks/20121128182853_add_farmer.rb
|
173
|
+
- test/dummy/db/migrate/20121128182851_create_farmers.rb
|
174
|
+
- test/dummy/db/schema.rb
|
175
|
+
- test/dummy/lib/assets/.gitkeep
|
176
|
+
- test/dummy/log/.gitkeep
|
177
|
+
- test/dummy/public/404.html
|
178
|
+
- test/dummy/public/422.html
|
179
|
+
- test/dummy/public/500.html
|
180
|
+
- test/dummy/public/favicon.ico
|
181
|
+
- test/dummy/script/rails
|
182
|
+
- test/test_helper.rb
|