comfortable_mexican_sofa 1.0.42 → 1.0.43
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/README.md +2 -2
- data/VERSION +1 -1
- data/comfortable_mexican_sofa.gemspec +1 -1
- data/lib/tasks/comfortable_mexican_sofa.rake +7 -2
- metadata +3 -3
data/README.md
CHANGED
|
@@ -124,14 +124,14 @@ Example fixture files for a [layout](https://github.com/twg/comfortable-mexican-
|
|
|
124
124
|
### Importing fixtures into database
|
|
125
125
|
Now that you have all those fixture files, how do we get them into database? Easy:
|
|
126
126
|
|
|
127
|
-
rake comfortable_mexican_sofa:import:all FROM=your-site.local TO=your-site.com
|
|
127
|
+
rake comfortable_mexican_sofa:import:all FROM=your-site.local TO=your-site.com SEED_PATH=/path/to/fixtures
|
|
128
128
|
|
|
129
129
|
PATH is optional if seed\_data\_path configuration option is set.
|
|
130
130
|
|
|
131
131
|
### Exporting database data into fixtures
|
|
132
132
|
If you need to pull down database content into fixtures it's done as follows:
|
|
133
133
|
|
|
134
|
-
rake comfortable_mexican_sofa:export:all FROM=your-site.com TO=your-site.local
|
|
134
|
+
rake comfortable_mexican_sofa:export:all FROM=your-site.com TO=your-site.local SEED_PATH=/path/to/fixtures
|
|
135
135
|
|
|
136
136
|
During import/export it will prompt you if there are any files/database entries that are going to be overwritten
|
|
137
137
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.43
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{comfortable_mexican_sofa}
|
|
8
|
-
s.version = "1.0.
|
|
8
|
+
s.version = "1.0.43"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Oleg Khabarov", "The Working Group Inc"]
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
# Small hack to auto-run migrations during testing
|
|
2
|
+
namespace :db do
|
|
3
|
+
task :abort_if_pending_migrations => [:migrate]
|
|
4
|
+
end
|
|
5
|
+
|
|
1
6
|
namespace :comfortable_mexican_sofa do
|
|
2
7
|
|
|
3
8
|
# Example use:
|
|
4
|
-
# rake comfortable_mexican_sofa:import:all FROM=mysite.local TO=mysite.com
|
|
9
|
+
# rake comfortable_mexican_sofa:import:all FROM=mysite.local TO=mysite.com SEED_PATH=/path/to/seed_data
|
|
5
10
|
namespace :import do
|
|
6
11
|
|
|
7
12
|
task :check_for_requirements => :environment do |task, args|
|
|
@@ -163,7 +168,7 @@ namespace :comfortable_mexican_sofa do
|
|
|
163
168
|
end
|
|
164
169
|
|
|
165
170
|
# Example use:
|
|
166
|
-
# rake comfortable_mexican_sofa:import:all FROM=mysite.com TO=mysite.local
|
|
171
|
+
# rake comfortable_mexican_sofa:import:all FROM=mysite.com TO=mysite.local SEED_PATH=/path/to/seed_data
|
|
167
172
|
namespace :export do
|
|
168
173
|
|
|
169
174
|
task :check_for_requirements => :environment do |task, args|
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 1
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 1.0.
|
|
8
|
+
- 43
|
|
9
|
+
version: 1.0.43
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Oleg Khabarov
|
|
@@ -377,7 +377,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
377
377
|
requirements:
|
|
378
378
|
- - ">="
|
|
379
379
|
- !ruby/object:Gem::Version
|
|
380
|
-
hash:
|
|
380
|
+
hash: 3545665435183444768
|
|
381
381
|
segments:
|
|
382
382
|
- 0
|
|
383
383
|
version: "0"
|