ruby_core_extensions 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 702cb94d4f6195649a0c4ed456219c865a4883db
4
- data.tar.gz: b03377cd78457c6949efc0278ae875d3a243074d
2
+ SHA256:
3
+ metadata.gz: fe51cbe0690ad8ae1a0a62820bf571b5d3d617a93ba7187807fc904f99c44867
4
+ data.tar.gz: a1298753e9148cb80f3454a534217c899435dfa03e25d1ee10dd234085eaf39a
5
5
  SHA512:
6
- metadata.gz: 24b92150e349a329f51e9f88b7f5e6ff491f583e2e26d93b394605debc86274171e1a7f339b1cd27dde2e197987ee668f14cba88c194c5c77c532948ea7a624a
7
- data.tar.gz: c22a0acd4cea5b4cc86afbd035203ee7a87c4742ccc6b8c68cc810f2d848fcb25bb320d6ab01c7cdb09138b98efa1284507a215f160b23398550a532d73ae6d5
6
+ metadata.gz: 0e23c149d5b40d8448ada9185501f74e750cc2c035790c0f0f8e0043f11d6a31a4511d8f593a6c5f8126f6d347faa570a0402ce65281fa20c17927480b654681
7
+ data.tar.gz: daaf2bc62fff5a8e18c4089194af2d0e9e1773d6845b5400fc8d4d0b71dc7aa5dcc5ffa6afcec2860d7f46c58e983249112320ae7a3178dcac985b2af8871fbc
data/.gitignore CHANGED
@@ -2,3 +2,5 @@ pkg
2
2
  coverage
3
3
  Gemfile.lock
4
4
  tmp
5
+ vendor
6
+ .bundle
@@ -0,0 +1 @@
1
+ 2.6.3
@@ -1,14 +1,20 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.0
3
+ - 2.4
4
+ - 2.5
5
+ - 2.6
6
+ matrix:
7
+ exclude:
8
+ - rvm: 2.4
9
+ gemfile: gemfiles/rails6.gemfile
10
+ before_install:
11
+ - gem install bundler
4
12
  script: bundle exec rake spec
5
13
  gemfile:
6
- - gemfiles/rails3.gemfile
7
- - gemfiles/rails4.gemfile
14
+ - gemfiles/rails5.gemfile
15
+ - gemfiles/rails6.gemfile
8
16
  notifications:
9
17
  email:
10
18
  - support@travellink.com.au
11
- flowdock:
12
- secure: IK3CyMRa++LNdooemZJBZSNdwUiKpVdXZUz9exYIkj3La/EJDOy+kqV2NzYdqRht2BGHHiRsVn3hVqySDDuv9jxBHTZgM0v/pQ4kT8JZqi7fDb36axf3M6Y2VJyrJ0S/9BbHqLE95B4NXQ30ctLCSfQNbp9sOn2EwP3DZS9KJks=
13
19
  sudo: false
14
20
  cache: bundler
@@ -3,7 +3,9 @@ All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
  This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
5
5
 
6
- ## Unreleased
6
+ ## 0.2.0
7
+
8
+ - [TT-5814] Update to Rails5+ and Ruby2.4+
7
9
 
8
10
  ## 0.1.0
9
11
 
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+ gemspec path: '../'
3
+
4
+ group :development, :test do
5
+ gem 'activerecord', '~> 5.0'
6
+ end
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+ gemspec :path => '../'
3
+
4
+ group :development, :test do
5
+ gem 'activerecord', '~> 6.0.0.rc2'
6
+ end
@@ -1,14 +1,4 @@
1
1
  class Hash
2
- unless self.method_defined?(:extract!)
3
- # Imported from Rails 3
4
- def extract!(*keys)
5
- result = {}
6
- keys.each { |key| result[key] = delete(key) }
7
- result
8
- end
9
- end
10
-
11
-
12
2
  def map_key_value(key_method, value_method = nil)
13
3
  value_method ||= key_method
14
4
  each.with_object({}) do |(k, v), new_hash|
@@ -1,3 +1,3 @@
1
1
  module RubyCoreExtensions
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -20,10 +20,10 @@ Gem::Specification.new do |spec|
20
20
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_dependency 'activesupport', '>= 2.0'
23
+ spec.add_dependency 'activesupport', '>= 5.0'
24
24
  spec.add_dependency 'tzinfo'
25
25
 
26
- spec.add_development_dependency "bundler", "~> 1.3"
26
+ spec.add_development_dependency "bundler", "~> 2.0.1"
27
27
  spec.add_development_dependency "rake"
28
28
  spec.add_development_dependency 'rspec'
29
29
  spec.add_development_dependency 'coverage-kit'
@@ -1,4 +1,4 @@
1
1
  require 'simplecov-rcov'
2
2
  require 'coveralls'
3
3
  require 'coverage/kit'
4
- Coverage::Kit.setup(minimum_coverage: 87.2)
4
+ Coverage::Kit.setup(minimum_coverage: 88.5)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_core_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-05-18 00:00:00.000000000 Z
12
+ date: 2019-08-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '2.0'
20
+ version: '5.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '2.0'
27
+ version: '5.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: tzinfo
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '1.3'
48
+ version: 2.0.1
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '1.3'
55
+ version: 2.0.1
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -160,14 +160,15 @@ files:
160
160
  - ".gitignore"
161
161
  - ".rspec"
162
162
  - ".rubocop.yml"
163
+ - ".ruby-version"
163
164
  - ".travis.yml"
164
165
  - CHANGELOG.md
165
166
  - Gemfile
166
167
  - LICENSE
167
168
  - README.md
168
169
  - Rakefile
169
- - gemfiles/rails3.gemfile
170
- - gemfiles/rails4.gemfile
170
+ - gemfiles/rails5.gemfile
171
+ - gemfiles/rails6.gemfile
171
172
  - lib/ruby_core_extensions.rb
172
173
  - lib/ruby_core_extensions/array.rb
173
174
  - lib/ruby_core_extensions/class.rb
@@ -217,8 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
218
  - !ruby/object:Gem::Version
218
219
  version: '0'
219
220
  requirements: []
220
- rubyforge_project:
221
- rubygems_version: 2.6.14.1
221
+ rubygems_version: 3.0.3
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: Set of extensions to core ruby libraries used by TravelLink Technology.
@@ -1,11 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec path: '../'
3
-
4
- group :development, :test do
5
- gem 'rake'
6
- gem 'rdoc'
7
- gem 'rspec'
8
- gem 'simplecov'
9
- gem 'simplecov-rcov'
10
- gem 'activesupport', '~> 3.2.0'
11
- end
@@ -1,11 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec path: '../'
3
-
4
- group :development, :test do
5
- gem 'rake'
6
- gem 'rdoc'
7
- gem 'rspec'
8
- gem 'simplecov'
9
- gem 'simplecov-rcov'
10
- gem 'activesupport', '~> 4.0.0'
11
- end