Skip to content

Commit

Permalink
Only support Ruby 2.2+ and JRuby 9.0.0.0+
Browse files Browse the repository at this point in the history
Drop attempts at support for Rubinius
  • Loading branch information
benlangfeld committed Jun 19, 2015
1 parent 686151e commit 817f479
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
@@ -1,17 +1,15 @@
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby
- rbx-2.1.1
- 2.2.0
- 2.2.1
- 2.2.2
- jruby-9.0.0.0.pre2
- ruby-head
jdk:
- openjdk7 # for jruby
before_script: export JRUBY_OPTS="--server -J-Xss1024k -J-Xmx652m -J-XX:+UseConcMarkSweepGC"
matrix:
allow_failures:
- rvm: rbx-2.1.1
- rvm: ruby-head
env: ARUBA_TIMEOUT=120 AHN_ENV=development
sudo: false
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -13,6 +13,7 @@
* `config.punchblock.*` becomes `config.platform.*`
* No longer any dependency on Punchblock, or any mention of that name
* Change: No longer supporting FreeSWITCH via IES (Rayo only) or Asterisk < 11
* Change: Ruby 1.9 is no longer supported. Minimum supported versions are Ruby 2.2.0 and JRuby 9.0.0.0
* Feature: Add i18n support via `CallController#t`
* Upgrade to Celluloid 0.16

Expand Down
4 changes: 2 additions & 2 deletions README.markdown
Expand Up @@ -24,14 +24,14 @@ Adhearsion rests above a lower-level telephony platform, for example [Asterisk](

## Requirements

* Ruby 1.9.3+ or JRuby 1.7.0+
* Ruby 2.2.0+ or JRuby 9.0.0.0+
* [ruby_speech dependencies](https://github.com/benlangfeld/ruby_speech#dependencies)
* A VoIP platform:
* Asterisk 11+
* A Rayo server (Prism 11+ with rayo-server, or FreeSWITCH with mod_rayo)
* An interest in building cool new things

**Ruby 1.9.2 is no longer supported by Adhearsion or the Ruby core team. You should upgrade to Ruby 1.9.3 or Ruby 2 as a matter of urgency in order to continue receiving security fixes.**
**Ruby 1.9 is no longer supported by Adhearsion or the Ruby core team. You should upgrade to Ruby 2 as a matter of urgency in order to continue receiving security fixes.**

## Install

Expand Down
2 changes: 1 addition & 1 deletion adhearsion.gemspec
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |s|

s.license = 'MIT'

s.required_ruby_version = '>= 1.9.3'
s.required_ruby_version = '>= 2.2.0'

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
Expand Down
2 changes: 1 addition & 1 deletion lib/adhearsion.rb
@@ -1,6 +1,6 @@
# encoding: utf-8

abort "ERROR: You are running Adhearsion on an unsupported version of Ruby (Ruby #{RUBY_VERSION} #{RUBY_RELEASE_DATE})! Please upgrade to at least Ruby v1.9.3, JRuby 1.7.0 or Rubinius 2.0." if RUBY_VERSION < "1.9.3"
abort "ERROR: You are running Adhearsion on an unsupported version of Ruby (Ruby #{RUBY_VERSION} #{RUBY_RELEASE_DATE})! Please upgrade to at least Ruby v2.2.0 or JRuby 9.0.0.0." if RUBY_VERSION < "2.2"

%w(
adhearsion/rayo
Expand Down

0 comments on commit 817f479

Please sign in to comment.