Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expands the set of ruby versions #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ spec/reports
test/tmp
test/version_tmp
tmp
Gemfile.lock
gemfiles/*.lock
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
AllCops:
TargetRubyVersion: 2.7
SuggestExtensions: false
1 change: 1 addition & 0 deletions .ruby-gemset
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
esendex-sdk
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.2
29 changes: 26 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
language: ruby
rvm:
- "2.2"
- "2.3"
- "2.4"
- 2.6
- 2.7.2
- 3.0
os: linux
sudo: true

script: bundle exec rspec

cache:
bundler: false

gemfile:
- gemfiles/rails_52.gemfile
- gemfiles/rails_60.gemfile
- gemfiles/rails_61.gemfile

jobs:
include:
- rvm: 2.2
gemfile: gemfiles/rails_51.gemfile
- rvm: 2.3
gemfile: gemfiles/rails_52.gemfile
- rvm: 2.4
gemfile: gemfiles/rails_52.gemfile
exclude:
- rvm: 3.0
gemfile: gemfiles/rails_52.gemfile
26 changes: 13 additions & 13 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
source "http://rubygems.org"
source 'http://rubygems.org'

gemspec

group :development, :test do
gem 'rails', "~> 4.1.16"
gem 'rake', '~> 12.2.1'
gem 'rspec'
gem 'rspec-rails'
gem 'rspec-collection_matchers'
gem 'rb-inotify', :require => false
gem 'rb-fsevent', :require => false
gem 'activeresource'
gem 'growl'
gem 'guard'
gem 'guard-rspec'
gem 'growl'
gem 'wdm', "<= 0.0.3", :platforms => [:mswin, :mingw], :require => false
gem 'activeresource'
gem 'rails-observers', '0.1.2'
gem 'listen', '~> 3.0.0'
gem 'listen'
gem 'rails', '~> 6.0'
gem 'rails-observers'
gem 'rb-fsevent', require: false
gem 'rb-inotify', require: false
gem 'rspec'
gem 'rspec-collection_matchers'
gem 'rspec-rails'
gem 'rubocop'
gem 'wdm', platforms: %i[mswin mingw], require: false
end
178 changes: 0 additions & 178 deletions Gemfile.lock

This file was deleted.

29 changes: 14 additions & 15 deletions esendex.gemspec
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/esendex/version', __FILE__)
require File.expand_path('lib/esendex/version', __dir__)

Gem::Specification.new do |gem|
gem.authors = ["Adam Bird"]
gem.email = ["[email protected]"]
gem.description = "Send SMS from your application using the Esendex API"
gem.summary = "Gem for interacting with the Esendex API"
gem.homepage = "http://developers.esendex.com"
gem.authors = ['Adam Bird']
gem.email = ['[email protected]']
gem.description = 'Send SMS from your application using the Esendex API'
gem.summary = 'Gem for interacting with the Esendex API'
gem.homepage = 'http://developers.esendex.com'

gem.files = Dir["{app,config,lib}/**/*"]
gem.test_files = Dir["spec/**/*"]
gem.extra_rdoc_files = ["licence.txt", "readme.md"]
gem.name = "esendex"
gem.require_paths = ["lib"]
gem.files = Dir['{app,config,lib}/**/*']
gem.test_files = Dir['spec/**/*']
gem.extra_rdoc_files = ['licence.txt', 'readme.md']
gem.name = 'esendex'
gem.require_paths = ['lib']
gem.version = Esendex::VERSION
gem.required_ruby_version = "~> 2.2"
gem.add_runtime_dependency "nestful", ["~> 0.0.8"]
gem.add_runtime_dependency "nokogiri", ["~> 1.6.8.1"]
gem.required_ruby_version = '>= 2.2'
gem.add_runtime_dependency 'nestful', ['~> 0.0.8']
gem.add_runtime_dependency 'nokogiri'
end
20 changes: 20 additions & 0 deletions gemfiles/rails_51.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
source 'http://rubygems.org'

gemspec path: '../'

group :development, :test do
gem 'activeresource'
gem 'growl'
gem 'guard'
gem 'guard-rspec'
gem 'listen'
gem 'rails', '>= 5.1', '< 5.2'
gem 'rails-observers'
gem 'rb-fsevent', require: false
gem 'rb-inotify', require: false
gem 'rspec'
gem 'rspec-collection_matchers'
gem 'rspec-rails'
gem 'rubocop'
gem 'wdm', platforms: %i[mswin mingw], require: false
end
20 changes: 20 additions & 0 deletions gemfiles/rails_52.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
source 'http://rubygems.org'

gemspec path: '../'

group :development, :test do
gem 'activeresource'
gem 'growl'
gem 'guard'
gem 'guard-rspec'
gem 'listen'
gem 'rails', '>= 5.2', '< 6.0'
gem 'rails-observers'
gem 'rb-fsevent', require: false
gem 'rb-inotify', require: false
gem 'rspec'
gem 'rspec-collection_matchers'
gem 'rspec-rails'
gem 'rubocop'
gem 'wdm', platforms: %i[mswin mingw], require: false
end
20 changes: 20 additions & 0 deletions gemfiles/rails_60.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
source 'http://rubygems.org'

gemspec path: '../'

group :development, :test do
gem 'activeresource'
gem 'growl'
gem 'guard'
gem 'guard-rspec'
gem 'listen'
gem 'rails', '>= 6.0', '< 6.1'
gem 'rails-observers'
gem 'rb-fsevent', require: false
gem 'rb-inotify', require: false
gem 'rspec'
gem 'rspec-collection_matchers'
gem 'rspec-rails'
gem 'rubocop'
gem 'wdm', platforms: %i[mswin mingw], require: false
end
20 changes: 20 additions & 0 deletions gemfiles/rails_61.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
source 'http://rubygems.org'

gemspec path: '../'

group :development, :test do
gem 'activeresource'
gem 'growl'
gem 'guard'
gem 'guard-rspec'
gem 'listen'
gem 'rails', '>= 6.1', '< 6.2'
gem 'rails-observers'
gem 'rb-fsevent', require: false
gem 'rb-inotify', require: false
gem 'rspec'
gem 'rspec-collection_matchers'
gem 'rspec-rails'
gem 'rubocop'
gem 'wdm', platforms: %i[mswin mingw], require: false
end