sdl 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sdl/enum.rb +1 -1
  3. data/lib/sdl/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 293494599d3e932dc85f8057791b79341dcdd0fd
4
- data.tar.gz: 88bda3e50d8d5ddd4bc1f64785ce41a7cd11f725
3
+ metadata.gz: a883a3fe7f9d06a141c189ec28b1f67e6c523b37
4
+ data.tar.gz: c22ea329243286c14df082b7db23190c4d0223a9
5
5
  SHA512:
6
- metadata.gz: 2b1cfa3f72d1affce168674a9ac1ff081dd8bd69b2bd32ea2ddf510ad40863466a36611887348ac3c8839c7f6a48e1ef055432c55a370e3984f1392851cf84a7
7
- data.tar.gz: fbab5b8bd7d1976f3ff2af5a55bd5918323afb82d9b230e516fd36b15dbed77e9d19432221156af0e48085d63209a042b7f3ce2b87d31a4acf7b4a90ddd5743f
6
+ metadata.gz: 7ab655cb02458de96d51682ce9c529da31660f46679190b967a66017a36990e3c003d5ade0fe1bb03ffda435e3c3db67d18419479078ec4fab14924f535c6e91
7
+ data.tar.gz: 95fa9a930d1e683900bd236aca56f3aa299d6908651ac233144d3965e6efac594052878be0cf1ab28a5eb9391ae2b5d25cc34a89075094b3ed91f58325fc7eea
@@ -21,7 +21,7 @@ module SDL
21
21
  # The possible values for the enum
22
22
  # @return [Array<String>]
23
23
  def values
24
- options.fetch(:values, []).map(&:to_s)
24
+ options.fetch(:values, []).map { |value| Name.new(value.to_s) }
25
25
  end
26
26
 
27
27
  # The name of the column
@@ -1,3 +1,3 @@
1
1
  module SDL
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
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.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ray Zane