dbee 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/dbee.gemspec +2 -2
- data/lib/dbee/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cccb1a5e9bf46985f887caa422c34401a0fcfd6b792b47e7a58ca1111ed6bef
|
4
|
+
data.tar.gz: 9814c17b3483ebb7d5303eb95576e2f94321cae1cd4db219cb57da564316c43b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdf4aa6edf57d80e1c6ba29db2b4776f6e6acab607962b093648fd3f6fad812c17d7f15d664b0fe14becd46bcd71f785ea643ad4ffdac2d61154011feb27471d
|
7
|
+
data.tar.gz: 472bfcd22ebee89c2c15f789c90f1147d2938941283fc4a29400e7316de42166ffc34497ee7d1ec447e7be4e26cc3276c2e06d7260976fb3dc38633e808b85b0
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Dbee arose out of a need for an ad-hoc reporting solution that included:
|
|
9
9
|
* de-coupling from our main ORM (ActiveRecord)
|
10
10
|
* Rails 5.2.1 and above compatibility
|
11
11
|
|
12
|
-
Dbee provides
|
12
|
+
Dbee provides very simple Data Modeling and Query API's and as such it is not meant to replace a traditional ORM or your data persistence layer, but compliment them. This library's goal is to output the SQL statement needed and **nothing** more.
|
13
13
|
|
14
14
|
Other solutions considered:
|
15
15
|
|
@@ -123,7 +123,7 @@ The two DSL methods: parent/child are very similar to ActiveRecord's belongs_to/
|
|
123
123
|
|
124
124
|
##### Customizing Inflection Rules
|
125
125
|
|
126
|
-
Inflection is provided via the
|
126
|
+
Inflection is provided via the [Dry::Inflector gem](https://github.com/dry-rb/dry-inflector). There are options to add custom grammar rules which you can then pass into Dbee. For example:
|
127
127
|
|
128
128
|
````ruby
|
129
129
|
Dbee.inflector = Dry::Inflector.new do |inflections|
|
data/dbee.gemspec
CHANGED
@@ -26,9 +26,9 @@ Gem::Specification.new do |s|
|
|
26
26
|
|
27
27
|
s.add_development_dependency('guard-rspec', '~>4.7')
|
28
28
|
s.add_development_dependency('pry', '~>0')
|
29
|
-
s.add_development_dependency('rake', '~>
|
29
|
+
s.add_development_dependency('rake', '~> 13')
|
30
30
|
s.add_development_dependency('rspec')
|
31
|
-
s.add_development_dependency('rubocop', '~>0.
|
31
|
+
s.add_development_dependency('rubocop', '~>0.75.1')
|
32
32
|
s.add_development_dependency('simplecov', '~>0.17.0')
|
33
33
|
s.add_development_dependency('simplecov-console', '~>0.5.0')
|
34
34
|
end
|
data/lib/dbee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dbee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Ruggio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_hashable
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '13'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
88
|
+
version: '13'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: rspec
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
109
|
+
version: 0.75.1
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 0.
|
116
|
+
version: 0.75.1
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: simplecov
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|