infopark-crm-helpers 2.0.0 → 2.0.1

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
  SHA256:
3
- metadata.gz: f33f8bb922e5b7766ee6bf0157c25bd9d5bfc5d0a50ace479e8c7e49cfb3b494
4
- data.tar.gz: d83d70d00ce02b879734d18e5d1a080527a30292f5abf01aa196e47ca5e4a9cd
3
+ metadata.gz: ecdac96354a76c28dcb36c9f68f04656d4f9e988de36cd8cfb715c9a522613c4
4
+ data.tar.gz: d8f3d23c5b3aea7cd49e8fbd206838c5053ef23aab95754d31cd1723f3ca6eaf
5
5
  SHA512:
6
- metadata.gz: 6b8426d38557ef347f23cf39f17369c32e27f54adfb96a9120c59bddc85f933538bbef547814989e7f41d02338695c61b0f2e6a1eba9b9ac3e9a0e1bdfad1112
7
- data.tar.gz: 5a3ba26906404f4f4d9505b0c1f5296c23af480dc376e8a3df94f44c1d1c5265893372d968025f7d769f86bd801050f95903cb304b65165e426f80e24a8b3552
6
+ metadata.gz: 2dce6780008175a90c19f497a6b11a2d915a7a622f26801667454ea618f67683fad2596a6877e00fa027ebb93feb69cb41463b3ee27eeba2cda1949b022da81c
7
+ data.tar.gz: 66f032bb18f94843017b0c9ada5457f6daed9ce76504f471c38253aec510409f98bbca72a66ea55afb1fb3f94f2a06e888f8dbf9ae55f1508c085abd807472cb
data/.travis.yml CHANGED
@@ -18,14 +18,14 @@ env:
18
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="
19
19
 
20
20
  matrix:
21
- - 'RAILS_VERSION=6.0.0'
22
- - 'RAILS_VERSION=5.2.0'
23
- - 'RAILS_VERSION=5.1.0'
24
- - 'RAILS_VERSION=5.0.0'
21
+ - 'TRAVIS_RAILS_VERSION=6.0'
22
+ - 'TRAVIS_RAILS_VERSION=5.2'
23
+ - 'TRAVIS_RAILS_VERSION=5.1'
24
+ - 'TRAVIS_RAILS_VERSION=5.0'
25
25
 
26
26
  matrix:
27
27
  exclude:
28
28
  - rvm: 2.3.8
29
- env: 'RAILS_VERSION=6.0.0'
29
+ env: 'TRAVIS_RAILS_VERSION=6.0'
30
30
  - rvm: 2.4.7
31
- env: 'RAILS_VERSION=6.0.0'
31
+ env: 'TRAVIS_RAILS_VERSION=6.0'
data/changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 2.0.1
2
+
3
+ - Enforce Rails version 5 or newer via gemspec.
4
+
1
5
  ### 2.0.0
2
6
 
3
7
  - Added support for Rails 6.
@@ -4,11 +4,8 @@ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'crm/helpers/version'
6
6
 
7
- rails_version = ENV['RAILS_VERSION'] || 'default'
8
- rails = case rails_version
9
- when 'default' then '>= 4.0'
10
- else "~> #{rails_version}"
11
- end
7
+ rails_version = ENV['TRAVIS_RAILS_VERSION'].to_s
8
+ rails_version = rails_version.empty? ? '>= 5.0' : "~> #{rails_version}.0"
12
9
 
13
10
  Gem::Specification.new do |spec|
14
11
  spec.name = 'infopark-crm-helpers'
@@ -30,8 +27,8 @@ Gem::Specification.new do |spec|
30
27
 
31
28
  spec.required_ruby_version = '>= 2.3'
32
29
 
33
- spec.add_dependency 'activemodel', rails
34
- spec.add_dependency 'activesupport', rails
30
+ spec.add_dependency 'activemodel', rails_version
31
+ spec.add_dependency 'activesupport', rails_version
35
32
  spec.add_dependency 'infopark_webcrm_sdk'
36
33
 
37
34
  spec.add_development_dependency 'bundler', '~> 1.11'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Crm
4
4
  module Helpers
5
- VERSION = '2.0.0'
5
+ VERSION = '2.0.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark-crm-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huy Dinh
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '4.0'
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '4.0'
33
+ version: '5.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '4.0'
40
+ version: '5.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: infopark_webcrm_sdk
43
43
  requirement: !ruby/object:Gem::Requirement