mailerlite 1.6.1 → 1.7.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
2
  SHA256:
3
- metadata.gz: f54e759936b8eb897bdca288881f3afa624641025f05c800801eee7a5cff7972
4
- data.tar.gz: 6a0b35dafc8ff4a3c0d87f344792993edef31b204d4555ab790cb67bf43662b5
3
+ metadata.gz: 794fa30b6010f9a52130a140f2988dcbb1562f888e853540db3b003800a49306
4
+ data.tar.gz: 0c647281e82a14f2d433b3895a0539e7ed304616fef3a5fd95720b143ec77e6e
5
5
  SHA512:
6
- metadata.gz: 8cf74df96d8004b34345500ec3bb73653bff9e5a9da8a3f2251d14648d26247becde3c607c555d6d166a64a174b652a4087e004164f9c3c12953ecf1b7203a17
7
- data.tar.gz: ae69283b1c675a1f54f22fb1eba8ed83ede928c3241538c8555e859151289cdfc35e8eb46892b8166130bb61f4ab50c106c760c13955450fe96056956c929f2a
6
+ metadata.gz: 82b306fcab32c2e7cd72468c50bff48770de081e53c8277c48fb70634701acafd42742a9610651b32f8cf2c03dcfb395fb667aa5f66d19602c3532fbe90c1ef0
7
+ data.tar.gz: 972ba82291ca5f0426570f2d9cbda44305d752f928015d2d85ee29d7153e656cf71e0a3b004bc22206d9ff2032aca2fb19796c1733eea328772e7b5124a1c652
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.1
2
+ TargetRubyVersion: 2.2
3
3
 
4
4
  Layout/AlignParameters:
5
5
  Enabled: true
@@ -10,15 +10,20 @@ env:
10
10
 
11
11
  language: ruby
12
12
  rvm:
13
- - 2.1.0
14
13
  - 2.2.0
15
14
  - 2.3.0
16
15
  - 2.4.0
17
16
  - 2.5.0
17
+ - 2.6.0
18
18
  - ruby-head
19
19
 
20
20
  before_install:
21
- - gem update --system
21
+ - gem install bundler -v '< 2'
22
+
23
+ # After dropping support for Ruby 2.2, use:
24
+ # before_install:
25
+ # - gem update --system
26
+ # - gem install bundler
22
27
 
23
28
  before_script:
24
29
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  group :development do
4
- gem 'rubocop', '~> 0.57'
4
+ gem 'rubocop', '~> 0.62'
5
5
  end
6
6
 
7
7
  group :development, :test do
@@ -10,9 +10,9 @@ end
10
10
 
11
11
  group :test do
12
12
  gem 'rake' # For Travis CI
13
- gem 'rspec', '~> 3.7'
13
+ gem 'rspec', '~> 3.8'
14
14
  gem 'simplecov', '~> 0.16', require: false
15
- gem 'webmock', '~> 3.4'
15
+ gem 'webmock', '~> 3.5'
16
16
  end
17
17
 
18
18
  gemspec
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018 Justas Palumickas
3
+ Copyright (c) 2019 Justas Palumickas
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -61,14 +61,14 @@ See more documentation in [examples][examples] directory.
61
61
  This library aims to support and is [tested against][travis] the following Ruby
62
62
  implementations:
63
63
 
64
- * Ruby 2.1.0
65
64
  * Ruby 2.2.0
66
65
  * Ruby 2.3.0
67
66
  * Ruby 2.4.0
68
67
  * Ruby 2.5.0
68
+ * Ruby 2.6.0
69
69
 
70
70
  ## Copyright
71
- Copyright (c) 2018 Justas Palumickas. See [LICENSE][license] for details.
71
+ Copyright (c) 2019 Justas Palumickas. See [LICENSE][license] for details.
72
72
 
73
73
  [rubygems]: https://rubygems.org/gems/mailerlite
74
74
  [travis]: https://travis-ci.org/jpalumickas/mailerlite-ruby
@@ -16,6 +16,7 @@ module MailerLite
16
16
 
17
17
  def method_missing(method_name, *args, &block)
18
18
  return super unless client.respond_to?(method_name)
19
+
19
20
  client.send(method_name, *args, &block)
20
21
  end
21
22
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module MailerLite
4
4
  module Utils
5
- BLANK_RE = /\A[[:space:]]*\z/
5
+ BLANK_RE = /\A[[:space:]]*\z/.freeze
6
6
 
7
7
  class << self
8
8
  def underscore(string)
@@ -2,5 +2,5 @@
2
2
 
3
3
  module MailerLite
4
4
  # @return [String] Version number.
5
- VERSION = '1.6.1'.freeze
5
+ VERSION = '1.7.0'.freeze
6
6
  end
@@ -23,12 +23,11 @@ Gem::Specification.new do |spec|
23
23
  spec.bindir = 'exe'
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ['lib']
26
- spec.required_ruby_version = '>= 2.1.0'
26
+ spec.required_ruby_version = '>= 2.2.0'
27
27
 
28
28
  spec.add_dependency 'faraday', '~> 0.10'
29
29
  spec.add_dependency 'faraday_middleware', '~> 0.10'
30
30
  spec.add_dependency 'hashie', '>= 3.5.5'
31
31
 
32
- spec.add_development_dependency 'bundler', '~> 1.11'
33
32
  spec.add_development_dependency 'rake', '~> 10.0'
34
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailerlite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justas Palumickas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-01 00:00:00.000000000 Z
11
+ date: 2019-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 3.5.5
55
- - !ruby/object:Gem::Dependency
56
- name: bundler
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.11'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.11'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rake
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -140,15 +126,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
126
  requirements:
141
127
  - - ">="
142
128
  - !ruby/object:Gem::Version
143
- version: 2.1.0
129
+ version: 2.2.0
144
130
  required_rubygems_version: !ruby/object:Gem::Requirement
145
131
  requirements:
146
132
  - - ">="
147
133
  - !ruby/object:Gem::Version
148
134
  version: '0'
149
135
  requirements: []
150
- rubyforge_project:
151
- rubygems_version: 2.7.7
136
+ rubygems_version: 3.0.2
152
137
  signing_key:
153
138
  specification_version: 4
154
139
  summary: Ruby wrapper for MailerLite API v2