degu 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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/degu.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "degu"
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Florian Frank"]
data/lib/degu/has_set.rb CHANGED
@@ -43,7 +43,7 @@ module Degu
43
43
  # special to_s method for element-array
44
44
  class << set_elements
45
45
  def to_s
46
- map(&:underscored_name) * ','
46
+ map(&:name) * ', '
47
47
  end
48
48
  end
49
49
  set_elements
data/lib/degu/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Degu
2
2
  # Degu version
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
data/test/has_set_test.rb CHANGED
@@ -95,7 +95,7 @@ class HasSetTest < Test::Unit::TestCase
95
95
 
96
96
  def test_should_have_to_s_method
97
97
  party = Party.new(:location => "Beach House", :drinks => [Drinks::Beer, Drinks::CubaLibre])
98
- assert_equal "beer,cuba_libre", party.drinks.to_s
98
+ assert_equal "Beer, CubaLibre", party.drinks.to_s
99
99
  end
100
100
 
101
101
  def test_should_accept_enum_class
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: degu
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Florian Frank