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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 439056885825969f584e56567236de2cda2e665b
4
- data.tar.gz: dd4d702e74641a85dbbfb5819e89275bbd50c5bc
3
+ metadata.gz: 293494599d3e932dc85f8057791b79341dcdd0fd
4
+ data.tar.gz: 88bda3e50d8d5ddd4bc1f64785ce41a7cd11f725
5
5
  SHA512:
6
- metadata.gz: bb929bd4fd891001eb5c37ba99ae9429f803488c4fca67791eafaf00c44af41d687675ea6475e9bb2554d0fa39b91f9f2cb30eb42c754700cd0067a77b9b85a2
7
- data.tar.gz: 3551c896ee004cb6e07ed52b5cf488c1222d2fca8c00438bf030ac4af02f85bf84cf345de9950977610a5f87737942b7f0759140fa08359c34e427774e521cd3
6
+ metadata.gz: 2b1cfa3f72d1affce168674a9ac1ff081dd8bd69b2bd32ea2ddf510ad40863466a36611887348ac3c8839c7f6a48e1ef055432c55a370e3984f1392851cf84a7
7
+ data.tar.gz: fbab5b8bd7d1976f3ff2af5a55bd5918323afb82d9b230e516fd36b15dbed77e9d19432221156af0e48085d63209a042b7f3ce2b87d31a4acf7b4a90ddd5743f
@@ -1,5 +1,5 @@
1
1
  require "sdl/field"
2
- require "active_support/inflector/methods"
2
+ require "active_support/inflector"
3
3
 
4
4
  module SDL
5
5
  # Base class for all association types
@@ -1,4 +1,4 @@
1
- require "active_support/inflector/methods"
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]
@@ -4,7 +4,7 @@ require "sdl/enum"
4
4
  require "sdl/attribute"
5
5
  require "sdl/association"
6
6
  require "sdl/attachment"
7
- require "active_support/inflector/methods"
7
+ require "active_support/inflector"
8
8
 
9
9
  module SDL
10
10
  # The parser takes a string and converts it to a {Field}.
@@ -1,3 +1,3 @@
1
1
  module SDL
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ray Zane