Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
202 changed files
with
15,223 additions
and
14,933 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
parallel: true | ||
format: progress | ||
ruby_version: 2.7 | ||
|
||
ignore: | ||
- 'lib/submodules/**/*' | ||
- 'vendor/**/*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
source 'https://rubygems.org' | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
# Specify your gem's dependencies in ably.gemspec | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,52 @@ | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
# frozen_string_literal: true | ||
|
||
require "English" | ||
lib = File.expand_path("lib", __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'ably/version' | ||
require "ably/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'ably' | ||
spec.version = Ably::VERSION | ||
spec.authors = ['Lewis Marshall', "Matthew O'Riordan"] | ||
spec.email = ['lewis@lmars.net', 'matt@ably.io'] | ||
spec.description = %q{A Ruby client library for ably.io realtime messaging} | ||
spec.summary = %q{A Ruby client library for ably.io realtime messaging implemented using EventMachine} | ||
spec.homepage = 'http://github.com/ably/ably-ruby' | ||
spec.license = 'Apache-2.0' | ||
spec.required_ruby_version = ">= 2.7" | ||
|
||
spec.name = "ably" | ||
spec.version = Ably::VERSION | ||
spec.authors = ["Lewis Marshall", "Matthew O'Riordan"] | ||
spec.email = ["lewis@lmars.net", "matt@ably.io"] | ||
spec.description = "A Ruby client library for ably.io realtime messaging" | ||
spec.summary = "A Ruby client library for ably.io realtime messaging implemented using EventMachine" | ||
spec.homepage = "http://github.com/ably/ably-ruby" | ||
spec.license = "Apache-2.0" | ||
|
||
spec.files = `git ls-files`.split($/) | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ['lib'] | ||
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
|
||
spec.add_runtime_dependency 'eventmachine', '~> 1.2.6' | ||
spec.add_runtime_dependency 'em-http-request', '~> 1.1' | ||
spec.add_runtime_dependency 'statesman', '~> 9.0' | ||
spec.add_runtime_dependency 'faraday', '~> 2.2' | ||
spec.add_runtime_dependency 'faraday-typhoeus', '~> 0.2.0' | ||
spec.add_runtime_dependency 'typhoeus', '~> 1.4' | ||
spec.add_runtime_dependency 'json' | ||
spec.add_runtime_dependency 'websocket-driver', '~> 0.7' | ||
spec.add_runtime_dependency 'msgpack', '>= 1.3.0' | ||
spec.add_runtime_dependency 'addressable', '>= 2.0.0' | ||
spec.add_runtime_dependency "addressable", ">= 2.0.0" | ||
spec.add_runtime_dependency "em-http-request", "~> 1.1" | ||
spec.add_runtime_dependency "eventmachine", "~> 1.2.6" | ||
spec.add_runtime_dependency "faraday", "~> 2.2" | ||
spec.add_runtime_dependency "faraday-typhoeus", "~> 0.2.0" | ||
spec.add_runtime_dependency "json" | ||
spec.add_runtime_dependency "msgpack", ">= 1.3.0" | ||
spec.add_runtime_dependency "statesman", "~> 9.0" | ||
spec.add_runtime_dependency "typhoeus", "~> 1.4" | ||
spec.add_runtime_dependency "websocket-driver", "~> 0.7" | ||
|
||
spec.add_development_dependency 'rake', '~> 13.0' | ||
spec.add_development_dependency 'redcarpet', '~> 3.3' | ||
spec.add_development_dependency 'rspec', '~> 3.11.0' | ||
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.5.1' | ||
spec.add_development_dependency 'rspec-retry', '~> 0.6' | ||
spec.add_development_dependency 'yard', '~> 0.9' | ||
spec.add_development_dependency 'rspec-instafail', '~> 1.0' | ||
spec.add_development_dependency 'bundler', '>= 1.3.0' | ||
spec.add_development_dependency 'webmock', '~> 3.11' | ||
spec.add_development_dependency 'simplecov', '~> 0.21.2' | ||
spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0' | ||
spec.add_development_dependency 'parallel_tests', '~> 3.8' | ||
spec.add_development_dependency 'pry', '~> 0.14.1' | ||
spec.add_development_dependency 'pry-byebug', '~> 3.8.0' | ||
spec.add_development_dependency "bundler", ">= 1.3.0" | ||
spec.add_development_dependency "parallel_tests", "~> 3.8" | ||
spec.add_development_dependency "pry", "~> 0.14.1" | ||
spec.add_development_dependency "pry-byebug", "~> 3.8.0" | ||
spec.add_development_dependency "rake", "~> 13.0" | ||
spec.add_development_dependency "redcarpet", "~> 3.3" | ||
spec.add_development_dependency "rspec", "~> 3.11.0" | ||
spec.add_development_dependency "rspec-instafail", "~> 1.0" | ||
spec.add_development_dependency "rspec_junit_formatter", "~> 0.5.1" | ||
spec.add_development_dependency "rspec-retry", "~> 0.6" | ||
spec.add_development_dependency "standard", "~> 1.14.0" | ||
spec.add_development_dependency "simplecov", "~> 0.21.2" | ||
spec.add_development_dependency "simplecov-lcov", "~> 0.8.0" | ||
spec.add_development_dependency "webmock", "~> 3.11" | ||
spec.add_development_dependency "yard", "~> 0.9" | ||
|
||
if RUBY_VERSION.match(/^3\./) | ||
spec.add_development_dependency 'webrick', '~> 1.7.0' | ||
end | ||
spec.add_development_dependency "webrick", "~> 1.7.0" if RUBY_VERSION.match?(/^3\./) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
require 'addressable/uri' | ||
# frozen_string_literal: true | ||
|
||
require 'ably/version' | ||
require 'ably/agent' | ||
require "addressable/uri" | ||
|
||
%w(modules util).each do |namespace| | ||
require "ably/version" | ||
require "ably/agent" | ||
|
||
%w[modules util].each do |namespace| | ||
Dir.glob(File.expand_path("ably/#{namespace}/*.rb", File.dirname(__FILE__))).sort.each do |file| | ||
require file | ||
end | ||
end | ||
|
||
require 'ably/auth' | ||
require 'ably/exceptions' | ||
require 'ably/logger' | ||
require 'ably/realtime' | ||
require 'ably/rest' | ||
require "ably/auth" | ||
require "ably/exceptions" | ||
require "ably/logger" | ||
require "ably/realtime" | ||
require "ably/rest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module Ably | ||
AGENT = "ably-ruby/#{Ably::VERSION} ruby/#{RUBY_VERSION}" | ||
end |
Oops, something went wrong.