hash_accessor 1.0.6 → 1.0.7

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
2
  SHA1:
3
- metadata.gz: 7098291ed6e537cfcc5b10d9d373df566468c6ff
4
- data.tar.gz: a70729fdf9bd57daab92a4063bb306ae14fc2f29
3
+ metadata.gz: 2aff31439f159567c1358743583cd7db1cc2d5ea
4
+ data.tar.gz: d630e68436094b441581cdcdb107fc103d845dde
5
5
  SHA512:
6
- metadata.gz: d137ed9b3df56b6ef8b07080b42b32bec92317c91f83f656efb688e7952f7b816093f2a6e4456247ffeb08d922a4e56a659236f5610ec75b51b1d61874c1bd1b
7
- data.tar.gz: 335525f8481eeab048131104e33e36e9a6995a64575d220c23eef8afb36c7cdb2881eb14530f5b1ce277a220bc38193bc755e5715f665fde5ddd9d8523bbceee
6
+ metadata.gz: 1e457bd69d51418af9327b0c8ab0bb6ffe367029e49124507517860663a345a88580c3499410057f976febd3b1fd2da4daad98a8db916a2649ad1896dc65ecbc
7
+ data.tar.gz: 473cf5550c030217dd573589cb9a703921fec887fa9c843db8f7667d68df05b4ca899510afa69e4d728140066d81c059c887d14b8c60b9530a726c5f4de8f396
@@ -0,0 +1,39 @@
1
+ version: 2
2
+ jobs:
3
+ build:
4
+ working_directory: ~/hash_accessor
5
+ parallelism: 1
6
+ docker:
7
+ - image: circleci/ruby:2.3.4
8
+ environment:
9
+ - CI: 1
10
+
11
+ steps:
12
+ - checkout
13
+ - add_ssh_keys
14
+
15
+ # run tests for rails 4.2
16
+ - run:
17
+ name: Install gems (4.2)
18
+ environment:
19
+ BUNDLE_GEMFILE: test/gemfiles/Gemfile.rails-4.2.x
20
+ command: bundle install
21
+ - run:
22
+ name: Run tests (4.2)
23
+ environment:
24
+ BUNDLE_GEMFILE: test/gemfiles/Gemfile.rails-4.2.x
25
+ command: |
26
+ bundle exec rake test
27
+
28
+ # run tests for rails 5.2
29
+ - run:
30
+ name: Install gems (5.2)
31
+ environment:
32
+ BUNDLE_GEMFILE: test/gemfiles/Gemfile.rails-5.2.x
33
+ command: bundle install
34
+ - run:
35
+ name: Run tests (5.2)
36
+ environment:
37
+ BUNDLE_GEMFILE: test/gemfiles/Gemfile.rails-5.2.x
38
+ command: |
39
+ bundle exec rake test
@@ -1,3 +1,7 @@
1
+ # 1.0.7 / 2018-7-27
2
+
3
+ * support Rails 5.2
4
+
1
5
  # 1.0.6 / 2018-6-12
2
6
 
3
7
  * Update activesupport to 4.2.9
@@ -4,7 +4,7 @@ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname
4
4
  require 'hash_accessor/railtie' if defined?(Rails)
5
5
 
6
6
  module HashAccessor
7
- VERSION = "1.0.6"
7
+ VERSION = "1.0.7"
8
8
 
9
9
  autoload :ClassMethods, 'hash_accessor/class_methods'
10
10
 
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+ gemspec :path => "./../.."
3
+
4
+ gem "activesupport", "~> 5.2.0"
5
+ gem 'coveralls', :require => false
@@ -1,6 +1,6 @@
1
1
  require_relative "test_helper"
2
2
 
3
- class HashAccessorTest < MiniTest::Unit::TestCase
3
+ class HashAccessorTest < MiniTest::Test
4
4
 
5
5
  class TestClassWithHash
6
6
  include HashAccessor
@@ -40,7 +40,7 @@ class HashAccessorTest < MiniTest::Unit::TestCase
40
40
 
41
41
  assert_equal "some test", t1.unspecified_variable
42
42
  assert_equal [:blah], t1.test_array_2
43
- assert_equal nil, t2.unspecified_variable
43
+ assert_nil t2.unspecified_variable
44
44
  assert_equal [], t2.test_array_2
45
45
  end
46
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_accessor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jobber
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-06-13 00:00:00.000000000 Z
12
+ date: 2018-07-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -74,10 +74,10 @@ executables: []
74
74
  extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
+ - ".circleci/config.yml"
77
78
  - ".coveralls"
78
79
  - ".gitignore"
79
80
  - ".ruby-version"
80
- - ".travis.yml"
81
81
  - CHANGELOG.md
82
82
  - Gemfile
83
83
  - MIT-LICENSE
@@ -89,6 +89,7 @@ files:
89
89
  - lib/hash_accessor/railtie.rb
90
90
  - rails/init.rb
91
91
  - test/gemfiles/Gemfile.rails-4.2.x
92
+ - test/gemfiles/Gemfile.rails-5.2.x
92
93
  - test/hash_accessor_test.rb
93
94
  - test/test_helper.rb
94
95
  homepage:
@@ -119,5 +120,6 @@ summary: This gem provides extended functionality to serialized hashed in rails
119
120
  changing DB variables on a model which don't get queried against.
120
121
  test_files:
121
122
  - test/gemfiles/Gemfile.rails-4.2.x
123
+ - test/gemfiles/Gemfile.rails-5.2.x
122
124
  - test/hash_accessor_test.rb
123
125
  - test/test_helper.rb
@@ -1,16 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- script: bundle exec rake
4
- rvm:
5
- - 1.9.3
6
- - 2.0.0
7
- - 2.1.5
8
- - 2.2.0
9
- - jruby-19mode
10
- gemfile:
11
- - test/gemfiles/Gemfile.rails-4.2.x
12
- matrix:
13
- exclude:
14
- - rvm: 1.9.3
15
- gemfile: spec/gemfiles/rails-4.2.x.gemfile
16
- fast_finish: true