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 +4 -4
- data/.circleci/config.yml +39 -0
- data/CHANGELOG.md +4 -0
- data/lib/hash_accessor.rb +1 -1
- data/test/gemfiles/Gemfile.rails-5.2.x +5 -0
- data/test/hash_accessor_test.rb +2 -2
- metadata +5 -3
- data/.travis.yml +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aff31439f159567c1358743583cd7db1cc2d5ea
|
4
|
+
data.tar.gz: d630e68436094b441581cdcdb107fc103d845dde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/CHANGELOG.md
CHANGED
data/lib/hash_accessor.rb
CHANGED
data/test/hash_accessor_test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require_relative "test_helper"
|
2
2
|
|
3
|
-
class HashAccessorTest < MiniTest::
|
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
|
-
|
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.
|
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-
|
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
|
data/.travis.yml
DELETED
@@ -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
|