insights_export 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +19 -0
- data/README.md +3 -0
- data/insights_export.gemspec +18 -0
- data/lib/insights_export/export_models.rb +5 -5
- data/lib/insights_export/version.rb +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f46b6b6e1f8b3a927d79c35ef52b54fb54a0983e
|
4
|
+
data.tar.gz: 0bbfe1721419cf2ad037c742ef54f006d3b7c449
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f27f3112a44e3653f2a18074a09066875a6e4d6331896bde794e17a51bc6b75ee29fba31a35aff851419f8bc2da340308da06369093172d96428e1d163265cd8
|
7
|
+
data.tar.gz: 69adef3d3ae3c78715c8f9767a645676decca24a887983a5608d9bdacc0e5f1de2c1f0c5a05aa8af7fc23f56b529ca8a13d6e761b160a3f75f43902b54b5ad9d
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
*.gem
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
data/README.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
|
3
|
+
require "insights_export/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = 'insights_export'
|
7
|
+
s.version = InsightsExport::VERSION
|
8
|
+
s.summary = "Export your database structure into config/insights.yml"
|
9
|
+
s.description = "for use with insights."
|
10
|
+
s.authors = ["Marius Andra"]
|
11
|
+
s.email = 'marius.andra@gmail.com'
|
12
|
+
s.files = `git ls-files`.split("\n")
|
13
|
+
s.homepage = 'https://github.com/mariusandra/insights_export'
|
14
|
+
s.license = 'MIT'
|
15
|
+
s.require_paths = ["lib"]
|
16
|
+
|
17
|
+
s.add_development_dependency "rake"
|
18
|
+
end
|
@@ -90,11 +90,11 @@ module InsightsExport
|
|
90
90
|
[key.to_sym, obj]
|
91
91
|
end.to_h,
|
92
92
|
custom: {},
|
93
|
-
aggregate: {
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
},
|
93
|
+
# aggregate: {
|
94
|
+
# count: {
|
95
|
+
# sql: "count($$.#{model.primary_key})"
|
96
|
+
# }
|
97
|
+
# },
|
98
98
|
links: {
|
99
99
|
incoming: {},
|
100
100
|
outgoing: {}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: insights_export
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marius Andra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -30,6 +30,11 @@ executables: []
|
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
|
+
- ".gitignore"
|
34
|
+
- Gemfile
|
35
|
+
- Gemfile.lock
|
36
|
+
- README.md
|
37
|
+
- insights_export.gemspec
|
33
38
|
- lib/insights_export.rb
|
34
39
|
- lib/insights_export/export_models.rb
|
35
40
|
- lib/insights_export/railtie.rb
|