insights_export 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11297abfb262f40b5e01731ed10fbd2070ab8287
4
- data.tar.gz: 8fbade44fa80880215181761aac06e9da3e659db
3
+ metadata.gz: f46b6b6e1f8b3a927d79c35ef52b54fb54a0983e
4
+ data.tar.gz: 0bbfe1721419cf2ad037c742ef54f006d3b7c449
5
5
  SHA512:
6
- metadata.gz: 3e228b857da2ca4f4083fd40c816a29a4453717095873ff357173d4a4171c0809e32136f4ae0c6981b5200abf154f91b3cd559163a47fbe0c901b2200d9738b9
7
- data.tar.gz: 882b20941e4617022dff3e9ed781cf122056b135206c76348e354230db9cf8be9efe12660ba38efda43b9a95353fe9fc4e0c9881adcaa65add0566057628e1ab
6
+ metadata.gz: f27f3112a44e3653f2a18074a09066875a6e4d6331896bde794e17a51bc6b75ee29fba31a35aff851419f8bc2da340308da06369093172d96428e1d163265cd8
7
+ data.tar.gz: 69adef3d3ae3c78715c8f9767a645676decca24a887983a5608d9bdacc0e5f1de2c1f0c5a05aa8af7fc23f56b529ca8a13d6e761b160a3f75f43902b54b5ad9d
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ *.gem
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in internal_task.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,19 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ insights_export (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (12.0.0)
10
+
11
+ PLATFORMS
12
+ ruby
13
+
14
+ DEPENDENCIES
15
+ insights_export!
16
+ rake
17
+
18
+ BUNDLED WITH
19
+ 1.14.6
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # insights_export
2
+
3
+ For use with [insights](https://github.com/mariusandra/insights)
@@ -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
- count: {
95
- sql: "count($$.#{model.primary_key})"
96
- }
97
- },
93
+ # aggregate: {
94
+ # count: {
95
+ # sql: "count($$.#{model.primary_key})"
96
+ # }
97
+ # },
98
98
  links: {
99
99
  incoming: {},
100
100
  outgoing: {}
@@ -1,3 +1,3 @@
1
1
  module InsightsExport
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
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.0
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-16 00:00:00.000000000 Z
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