infopark-crm-helpers 1.2.1 → 1.2.2

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: c9a36712e72c6b92c0b5ddd4885b2f5b05a2cc73
4
- data.tar.gz: 9e1881a06f06319f7c2336067c81e7553a1d5855
3
+ metadata.gz: 1826ace8dcd04ae4fd8153934762c80c9fb6c61d
4
+ data.tar.gz: 6d323d33bdd3765440e68027d043952c9a8e247e
5
5
  SHA512:
6
- metadata.gz: 560151c0857ea8fc954400427e7202f918d826051e875335116efc3746292c5da452c677da025e72b271d48262d277042c7f9b5dec754fe083c080d76586b7e6
7
- data.tar.gz: 4e5c858cd35ce6321d07836d99162a59076507d661601f466415728b649147c4b4fb0cc1a06a478588bc818a67c095f5e9e5bb292795ccc9565ca7e129a8ae01
6
+ metadata.gz: c099cc46d0d385c15f153a1a57389fbd59e28c2989faed067292876e711508c385b5e5e2d7a5afec92f39991ab2c152a0533bd5451bfd4a6e85fe2d269e177cd
7
+ data.tar.gz: c6eaa84edb213da47f7175cb8876660f26ba943a9fa164bf640eb4960faf5b3c9df88447215fa9810952ab5b81cad7c94b4ff7a9e7b83605491b02731a79e5ef
data/.travis.yml CHANGED
@@ -8,6 +8,7 @@ before_install: gem install bundler -v 1.11.2
8
8
  install: bundle install --without doc --retry=3
9
9
  script:
10
10
  - bundle exec rake spec
11
+ - bundle exec codeclimate-test-reporter
11
12
 
12
13
  env:
13
14
  global:
@@ -20,3 +21,8 @@ env:
20
21
  - 'RAILS_VERSION=4.2.0'
21
22
  - 'RAILS_VERSION=4.1.0'
22
23
  - 'RAILS_VERSION=4.0.0'
24
+
25
+ matrix:
26
+ exclude:
27
+ - rvm: 2.1.10
28
+ env: 'RAILS_VERSION=5.0.0'
data/Gemfile CHANGED
@@ -4,3 +4,4 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'codeclimate-test-reporter', group: :test, require: nil
7
+ gem 'simplecov', group: :test, require: nil
data/changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.2.2
2
+
3
+ - Allow indifferent access on the hash passed in whilst creating an object.
4
+
1
5
  ### 1.2.1
2
6
 
3
7
  - Fix issue, wherein Rails < 5.0 was not accepted anymore.
@@ -7,6 +7,7 @@ module Crm
7
7
 
8
8
  module ClassMethods
9
9
  def create(attributes = {})
10
+ attributes = attributes.with_indifferent_access
10
11
  instance = new(attributes)
11
12
  return instance if instance.invalid?
12
13
 
@@ -1,5 +1,5 @@
1
1
  module Crm
2
2
  module Helpers
3
- VERSION = '1.2.1'.freeze
3
+ VERSION = '1.2.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark-crm-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huy Dinh
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-12 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.5.1
185
+ rubygems_version: 2.5.2
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: Helpers for the Infopark WebCRM SDK for Ruby.