insights_export 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/insights_export/railtie.rb +7 -1
- data/lib/insights_export/version.rb +1 -1
- metadata +2 -4
- data/Rakefile +0 -2
- data/lib/insights_export/task.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11297abfb262f40b5e01731ed10fbd2070ab8287
|
4
|
+
data.tar.gz: 8fbade44fa80880215181761aac06e9da3e659db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e228b857da2ca4f4083fd40c816a29a4453717095873ff357173d4a4171c0809e32136f4ae0c6981b5200abf154f91b3cd559163a47fbe0c901b2200d9738b9
|
7
|
+
data.tar.gz: 882b20941e4617022dff3e9ed781cf122056b135206c76348e354230db9cf8be9efe12660ba38efda43b9a95353fe9fc4e0c9881adcaa65add0566057628e1ab
|
@@ -1,7 +1,13 @@
|
|
1
1
|
module InsightsExport
|
2
2
|
class Railtie < Rails::Railtie
|
3
3
|
rake_tasks do
|
4
|
-
|
4
|
+
namespace :insights do
|
5
|
+
desc 'Export database structure to config/insights.yml'
|
6
|
+
task export: :environment do
|
7
|
+
Rails.application.eager_load!
|
8
|
+
InsightsExport::ExportModels.export
|
9
|
+
end
|
10
|
+
end
|
5
11
|
end
|
6
12
|
end
|
7
13
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: insights_export
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marius Andra
|
@@ -30,11 +30,9 @@ executables: []
|
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
|
-
- Rakefile
|
34
33
|
- lib/insights_export.rb
|
35
34
|
- lib/insights_export/export_models.rb
|
36
35
|
- lib/insights_export/railtie.rb
|
37
|
-
- lib/insights_export/task.rb
|
38
36
|
- lib/insights_export/version.rb
|
39
37
|
homepage: https://github.com/mariusandra/insights_export
|
40
38
|
licenses:
|
@@ -59,5 +57,5 @@ rubyforge_project:
|
|
59
57
|
rubygems_version: 2.5.1
|
60
58
|
signing_key:
|
61
59
|
specification_version: 4
|
62
|
-
summary: Export your database structure into config/insights.yml
|
60
|
+
summary: Export your database structure into config/insights.yml
|
63
61
|
test_files: []
|
data/Rakefile
DELETED