enumeration 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ data.tar.gz: 75c77d2e5f5be3c32d2b0f9d78e82ddce33a6a13
4
+ metadata.gz: 8b6a97701f07388db7a0ab21711d9bb97f49fa82
5
+ SHA512:
6
+ data.tar.gz: 947146852e7c8f797d8d70ab39218167799bae08ad270b222e45af6e6ddc66a9f1c1dc51febbc46016f7ffff6311725039e1c44f9980bfd8f6194b432b802afb
7
+ metadata.gz: ce7deaedd57ff581ab11574e05fe6b2ca3b83cd832f60dfb0ad29d9a122c155bc91297e6a97294fddf28468defbed59b9996931b38ca58e2089f1ee0d7648441
data/Gemfile CHANGED
@@ -2,5 +2,4 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rake', "~> 10.4.0"
6
5
  gem 'pry', "~> 0.9.0"
File without changes
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
8
8
  gem.version = Enumeration::VERSION
9
9
  gem.authors = ["Kelly Redding", "Collin Redding"]
10
10
  gem.email = ["kelly@kellyredding.com", "collin.redding@me.com"]
11
- gem.description = %q{Add enumerated value attributes to your ruby classes.}
12
11
  gem.summary = %q{Add enumerated value attributes to your ruby classes.}
12
+ gem.description = %q{Add enumerated value attributes to your ruby classes.}
13
13
  gem.homepage = "http://github.com/redding/enumeration"
14
14
  gem.license = 'MIT'
15
15
 
@@ -18,6 +18,6 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_development_dependency("assert", ["~> 2.13"])
21
+ gem.add_development_dependency("assert", ["~> 2.16.1"])
22
22
 
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Enumeration
2
- VERSION = "1.3.2"
2
+ VERSION = "1.3.3"
3
3
  end
@@ -8,3 +8,12 @@ $LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
8
8
  require 'pry'
9
9
 
10
10
  require 'test/support/factory'
11
+
12
+ # 1.8.7 backfills
13
+
14
+ # Array#sample
15
+ if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
16
+ class Array
17
+ alias_method :sample, :choice
18
+ end
19
+ end
metadata CHANGED
@@ -1,13 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enumeration
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease:
6
- segments:
7
- - 1
8
- - 3
9
- - 2
10
- version: 1.3.2
4
+ version: 1.3.3
11
5
  platform: ruby
12
6
  authors:
13
7
  - Kelly Redding
@@ -16,23 +10,18 @@ autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
12
 
19
- date: 2015-02-28 00:00:00 Z
13
+ date: 2016-06-18 00:00:00 Z
20
14
  dependencies:
21
15
  - !ruby/object:Gem::Dependency
16
+ name: assert
17
+ prerelease: false
22
18
  requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
19
  requirements:
25
20
  - - ~>
26
21
  - !ruby/object:Gem::Version
27
- hash: 25
28
- segments:
29
- - 2
30
- - 13
31
- version: "2.13"
22
+ version: 2.16.1
32
23
  type: :development
33
- name: assert
34
24
  version_requirements: *id001
35
- prerelease: false
36
25
  description: Add enumerated value attributes to your ruby classes.
37
26
  email:
38
27
  - kelly@kellyredding.com
@@ -46,9 +35,8 @@ extra_rdoc_files: []
46
35
  files:
47
36
  - .gitignore
48
37
  - Gemfile
49
- - LICENSE.txt
38
+ - LICENSE
50
39
  - README.md
51
- - Rakefile
52
40
  - enumeration.gemspec
53
41
  - lib/enumeration.rb
54
42
  - lib/enumeration/assert_macros.rb
@@ -62,35 +50,28 @@ files:
62
50
  homepage: http://github.com/redding/enumeration
63
51
  licenses:
64
52
  - MIT
53
+ metadata: {}
54
+
65
55
  post_install_message:
66
56
  rdoc_options: []
67
57
 
68
58
  require_paths:
69
59
  - lib
70
60
  required_ruby_version: !ruby/object:Gem::Requirement
71
- none: false
72
61
  requirements:
73
- - - ">="
62
+ - &id002
63
+ - ">="
74
64
  - !ruby/object:Gem::Version
75
- hash: 3
76
- segments:
77
- - 0
78
65
  version: "0"
79
66
  required_rubygems_version: !ruby/object:Gem::Requirement
80
- none: false
81
67
  requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
- version: "0"
68
+ - *id002
88
69
  requirements: []
89
70
 
90
71
  rubyforge_project:
91
- rubygems_version: 1.8.29
72
+ rubygems_version: 2.5.1
92
73
  signing_key:
93
- specification_version: 3
74
+ specification_version: 4
94
75
  summary: Add enumerated value attributes to your ruby classes.
95
76
  test_files:
96
77
  - test/helper.rb
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"