infopark-crm-helpers 1.3.1 → 2.0.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: 934ac297c549bec365b7f17ffd38622a89ec205e
4
- data.tar.gz: '018e3c6f454eadcab58d2870757e55c931f913be'
2
+ SHA256:
3
+ metadata.gz: f33f8bb922e5b7766ee6bf0157c25bd9d5bfc5d0a50ace479e8c7e49cfb3b494
4
+ data.tar.gz: d83d70d00ce02b879734d18e5d1a080527a30292f5abf01aa196e47ca5e4a9cd
5
5
  SHA512:
6
- metadata.gz: b58dcced8c1b6d715504f3fc4691310308a6d031d2e5de7443319e5b5f546a180b5dc7da4824debcbb33c476f1c77f32bbcd36066bcfff8b1bac56b92a2c4d07
7
- data.tar.gz: 59bf963f41a8bc6249f7256ddc2b06b1be4cc2f8d50e4994ace6e797e743d6f8c6bbd581c821aec5b881d9ca07491e758ccf36e056d70842245bb7f821e32d43
6
+ metadata.gz: 6b8426d38557ef347f23cf39f17369c32e27f54adfb96a9120c59bddc85f933538bbef547814989e7f41d02338695c61b0f2e6a1eba9b9ac3e9a0e1bdfad1112
7
+ data.tar.gz: 5a3ba26906404f4f4d9505b0c1f5296c23af480dc376e8a3df94f44c1d1c5265893372d968025f7d769f86bd801050f95903cb304b65165e426f80e24a8b3552
data/.travis.yml CHANGED
@@ -1,8 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.6.4
4
+ - 2.5.6
5
+ - 2.4.7
3
6
  - 2.3.8
4
- - 2.2.10
5
- - 2.1.10
6
7
 
7
8
  before_install: gem install bundler -v 1.11.2
8
9
  install: bundle install --without doc --retry=3
@@ -17,18 +18,14 @@ env:
17
18
  - secure: "dRGHULKMHj8/9Y7L1JMc+RwjD6c+djCBvQsewVGII+a5loiRQFV72zb5Td0JBPzGI2K1t3EXc2F8X8D+1QR+jpb0SFFSAUHzb2mvWU+FPixHfTxAPpktfiT+qAHFPkeaQMY86ktosE50+J555ke8YbtRKIBsqDbvZU+vnr3N6Ui4JhomCPMyCmnuFFATHoGBdhcrvWc1vY1Z7gK/qd0nhgyDb+sfOnbLinz7qR4oEI2nbGA6z5AzwfbD4JkXqagPirQy2tUJGAY71QVpDevg3qjfV2Hb9Ow1ESW9M0DsZZjFXXx6VJ4z9xikaqdauUMcJSCNMXtSK6OIUiy7Ln+WQKjDuGLxOLpG5oUxV7FrKEp63cQX9+6BDEPRuilwumZMBP0goE0kMFZmjai1bm3sMCddm08i05w9NraswxRHElBlPQxAXCDtiEQR2PKkI0G9j1/OheTvxn73GK0owPA6aOpOn52Jp+nwt8llZzPCLMvax4CmECESRvIJ7MN+ye1yre4IopXnbdZhHo/eoeGO0WTZL/t3qrmjGPyTljTkwGgp3LI+NxIoZG6UjOo2WJb6A3D8eZRbmMphZns1j7zcSUrCRNmpS6UmPsG1jExz+65LMSbScMs5xvCEtyW1X7qznf1NKLsfJxQUF3LlLSUrp/LoSTaDsrcR0E9qU9xt7/c="
18
19
 
19
20
  matrix:
21
+ - 'RAILS_VERSION=6.0.0'
20
22
  - 'RAILS_VERSION=5.2.0'
21
23
  - 'RAILS_VERSION=5.1.0'
22
24
  - 'RAILS_VERSION=5.0.0'
23
- - 'RAILS_VERSION=4.2.0'
24
- - 'RAILS_VERSION=4.1.0'
25
- - 'RAILS_VERSION=4.0.0'
26
25
 
27
26
  matrix:
28
27
  exclude:
29
- - rvm: 2.1.10
30
- env: 'RAILS_VERSION=5.0.0'
31
- - rvm: 2.1.10
32
- env: 'RAILS_VERSION=5.1.0'
33
- - rvm: 2.1.10
34
- env: 'RAILS_VERSION=5.2.0'
28
+ - rvm: 2.3.8
29
+ env: 'RAILS_VERSION=6.0.0'
30
+ - rvm: 2.4.7
31
+ env: 'RAILS_VERSION=6.0.0'
data/changelog.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 2.0.0
2
+
3
+ - Added support for Rails 6.
4
+ - Drop support for Rails 4.
5
+ - Added support for Rubies 2.4, 2.5, and 2.6
6
+ - Drop support for Rubies 2.1 and 2.2.
7
+ - Remove deprecated `Crm::Helpers::Attributes#assign_attributes`.
8
+
1
9
  ### 1.3.1
2
10
 
3
11
  - Replace `fakeweb` with `webmock`.
@@ -26,11 +26,9 @@ Gem::Specification.new do |spec|
26
26
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
27
  f.match(%r{^(test|spec|features)/})
28
28
  end
29
- spec.bindir = 'exe'
30
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
29
  spec.require_paths = ['lib']
32
30
 
33
- spec.required_ruby_version = ['>= 2.1', '< 2.4']
31
+ spec.required_ruby_version = '>= 2.3'
34
32
 
35
33
  spec.add_dependency 'activemodel', rails
36
34
  spec.add_dependency 'activesupport', rails
@@ -111,18 +111,6 @@ module Crm
111
111
  @crm_attributes = crm_attributes.merge(new_attributes)
112
112
  end
113
113
 
114
- def assign_attributes(new_attributes)
115
- deprecation_message = [
116
- '[DEPRECATION]',
117
- '`Crm::Helpers::Attributes#assign_attributes` is deprecated. Please ',
118
- 'use `Crm::Helpers::Attributes#assign_crm_attributes` instead.',
119
- '`Crm::Helpers::Attributes#assign_attributes` will be removed in',
120
- 'version 2.0.0.'
121
- ].join(' ')
122
- warn(deprecation_message)
123
- assign_crm_attributes(new_attributes)
124
- end
125
-
126
114
  def crm_attributes
127
115
  @crm_attributes ||= {}
128
116
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Crm
4
4
  module Helpers
5
- VERSION = '1.3.1'
5
+ VERSION = '2.0.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark-crm-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huy Dinh
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2019-09-26 00:00:00.000000000 Z
12
12
  dependencies:
@@ -188,18 +188,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
188
  requirements:
189
189
  - - ">="
190
190
  - !ruby/object:Gem::Version
191
- version: '2.1'
192
- - - "<"
193
- - !ruby/object:Gem::Version
194
- version: '2.4'
191
+ version: '2.3'
195
192
  required_rubygems_version: !ruby/object:Gem::Requirement
196
193
  requirements:
197
194
  - - ">="
198
195
  - !ruby/object:Gem::Version
199
196
  version: '0'
200
197
  requirements: []
201
- rubyforge_project:
202
- rubygems_version: 2.5.2.3
198
+ rubygems_version: 3.0.3
203
199
  signing_key:
204
200
  specification_version: 4
205
201
  summary: Helpers for the Infopark WebCRM SDK for Ruby.