sdl 0.4.0 → 0.4.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 +4 -4
- data/lib/sdl/association.rb +1 -1
- data/lib/sdl/name.rb +2 -1
- data/lib/sdl/parser.rb +1 -1
- data/lib/sdl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 293494599d3e932dc85f8057791b79341dcdd0fd
|
|
4
|
+
data.tar.gz: 88bda3e50d8d5ddd4bc1f64785ce41a7cd11f725
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b1cfa3f72d1affce168674a9ac1ff081dd8bd69b2bd32ea2ddf510ad40863466a36611887348ac3c8839c7f6a48e1ef055432c55a370e3984f1392851cf84a7
|
|
7
|
+
data.tar.gz: fbab5b8bd7d1976f3ff2af5a55bd5918323afb82d9b230e516fd36b15dbed77e9d19432221156af0e48085d63209a042b7f3ce2b87d31a4acf7b4a90ddd5743f
|
data/lib/sdl/association.rb
CHANGED
data/lib/sdl/name.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require "active_support/inflector
|
|
1
|
+
require "active_support/inflector"
|
|
2
2
|
|
|
3
3
|
module SDL
|
|
4
4
|
# An extension of a string that will format a name
|
|
@@ -23,6 +23,7 @@ module SDL
|
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
inflect :table, %i[tableize]
|
|
26
|
+
inflect :plural, %i[pluralize]
|
|
26
27
|
inflect :snake, %i[underscore]
|
|
27
28
|
inflect :snakes, %i[underscore pluralize]
|
|
28
29
|
inflect :scream, %i[underscore upcase]
|
data/lib/sdl/parser.rb
CHANGED
data/lib/sdl/version.rb
CHANGED