Skip to content

Commit

Permalink
Merge aaf6e35 into 5d90493
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed May 6, 2023
2 parents 5d90493 + aaf6e35 commit e5d31b7
Show file tree
Hide file tree
Showing 151 changed files with 3,423 additions and 2,918 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
- mysql2
- postgresql
ruby:
- "2.7"
- "3.2"
env:
DATABASE_ADAPTER: ${{ matrix.database_adapter }}
DATABASE_HOST: "127.0.0.1"
Expand Down Expand Up @@ -68,6 +68,9 @@ jobs:
- name: Run tests
run: bundle exec rake

- name: Coveralls
uses: coverallsapp/github-action@v1

ghcr-build-docker-images:
name: ghcr-docker-build-${{ matrix.docker_image }}
needs: run-tests
Expand Down
84 changes: 44 additions & 40 deletions Gemfile
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

ruby '>=2.7.0'
ruby '>=3.2.2'

# Ensure github repositories are fetched using HTTPS
git_source(:github) do |repo_name|
Expand Down Expand Up @@ -29,18 +29,18 @@ end

# Optional libraries. To conserve RAM, comment out any that you don't need,
# then run `bundle` and commit the updated Gemfile and Gemfile.lock.
gem 'twilio-ruby', '~> 5.62.0' # TwilioAgent
gem 'ruby-growl', '~> 4.1.0' # GrowlAgent
gem 'net-ftp-list', '~> 3.2.8' # FtpsiteAgent
gem 'forecast_io', '~> 2.0.0' # WeatherAgent
gem 'rturk', '~> 2.12.1' # HumanTaskAgent
gem 'erector', github: 'dsander/erector', branch: 'rails6'
gem 'forecast_io', '~> 2.0.0' # WeatherAgent
gem 'hipchat', '~> 1.2.0' # HipchatAgent
gem 'hypdf', '~> 1.0.10' # PDFInfoAgent
gem 'mini_racer' # JavaScriptAgent
gem 'xmpp4r', '~> 0.5.6' # JabberAgent
gem 'mqtt' # MQTTAgent
gem 'net-ftp'
gem 'net-ftp-list' # FtpsiteAgent
gem 'rturk', '~> 2.12.1' # HumanTaskAgent
gem 'slack-notifier', '~> 1.0.0' # SlackAgent
gem 'hypdf', '~> 1.0.10' # PDFInfoAgent
gem 'twilio-ruby', '~> 5.62.0' # TwilioAgent
gem 'xmpp4r', '~> 0.5.6' # JabberAgent

# Weibo Agents
# FIXME needs to loosen omniauth dependency, add rest-client
Expand All @@ -51,14 +51,15 @@ gem 'google-api-client', '~> 0.13'
gem 'google-cloud-translate', '~> 2.0', require: 'google/cloud/translate'

# Twitter Agents
gem 'omniauth-twitter'
gem 'twitter', github: 'sferik/twitter' # Must to be loaded before cantino-twitter-stream.
gem 'twitter-stream', github: 'cantino/twitter-stream', branch: 'huginn'
gem 'omniauth-twitter'

# Tumblr Agents
# until merge of https://github.com/tumblr/tumblr_client/pull/61
gem 'tumblr_client', github: 'albertsun/tumblr_client', branch: 'master', ref: 'e046fe6e39291c173add0a49081630c7b60a36c7'
gem 'omniauth-tumblr'
gem 'tumblr_client', github: 'albertsun/tumblr_client', branch: 'master',
ref: 'e046fe6e39291c173add0a49081630c7b60a36c7'

# Dropbox Agents
gem 'dropbox-api', github: 'dsander/dropbox-api', ref: '86cb7b5a1254dc5b054de7263835713c4c1018c7'
Expand All @@ -68,8 +69,8 @@ gem 'omniauth-dropbox-oauth2', github: 'huginn/omniauth-dropbox-oauth2'
gem 'haversine'

# EvernoteAgent
gem 'omniauth-evernote'
gem 'evernote_oauth'
gem 'omniauth-evernote'

# LocalFileAgent (watch functionality)
gem 'listen', '~> 3.0.5', require: false
Expand All @@ -78,17 +79,18 @@ gem 'listen', '~> 3.0.5', require: false
gem 'aws-sdk-s3', '~> 1'

# ImapFolderAgent
gem 'omniauth-google-oauth2', '>= 0.8.0'
gem 'gmail_xoauth' # support for Gmail using OAuth
gem 'omniauth-google-oauth2', '>= 0.8.0'

# Bundler <1.5 does not recognize :x64_mingw as a valid platform name.
# Unfortunately, it can't self-update because it errors when encountering :x64_mingw.
unless Gem::Version.new(Bundler::VERSION) >= Gem::Version.new('1.5.0')
STDERR.puts "Bundler >=1.5.0 is required. Please upgrade bundler with 'gem install bundler'"
warn "Bundler >=1.5.0 is required. Please upgrade bundler with 'gem install bundler'"
exit 1
end

gem 'ace-rails-ap', '~> 2.0.1'
gem 'ace-rails-ap'
gem 'bootsnap', require: false
gem 'bootstrap-kaminari-views', '~> 0.0.3'
gem 'bundler', '>= 1.5.0'
gem 'coffee-rails', '~> 5'
Expand All @@ -97,17 +99,18 @@ gem 'delayed_job'
gem 'delayed_job_active_record'
gem 'devise', '~> 4.8'
gem 'em-http-request', '~> 1.1.2'
gem 'execjs'
gem 'faraday', '~> 0.9'
gem 'faraday_middleware', '~> 0.12.2'
gem 'feedjira', '~> 3.1'
gem 'font-awesome-sass', '~> 4.7.0'
gem 'foreman', '~> 0.63.0'
gem 'foreman', '~> 0.87.2'
gem 'geokit', '~> 1.13'
gem 'geokit-rails', '~> 2.3'
gem 'httparty', '~> 0.13'
gem 'httmultiparty', '~> 0.3.16'
gem 'jquery-rails', '~> 4.2.1'
gem 'httparty', '~> 0.13'
gem 'huginn_agent'
gem 'jquery-rails', '~> 4.2.1'
gem 'json', '~> 2.3'
gem 'jsonpath', '~> 1.1'
gem 'kaminari', '~> 1.2'
Expand All @@ -120,55 +123,57 @@ gem 'multi_xml'
gem "nokogiri", ">= 1.10.8"
gem 'omniauth'
gem 'rails', '~> 6.1.7'
gem 'sprockets', '~> 3.7.2'
gem 'rails-html-sanitizer', '~> 1.2'
gem 'rufus-scheduler', '~> 3.4', require: false
gem 'sass-rails', '>= 6.0'
gem 'select2-rails', '~> 3.5.4'
gem 'select2-rails'
gem 'spectrum-rails'
gem 'execjs'
gem 'sprockets'
gem 'terser'
gem 'typhoeus', '~> 1.3.1'
gem 'uglifier', '~> 2.7.2'
gem 'bootsnap', require: false

group :development do
gem 'better_errors'
gem 'binding_of_caller'
gem 'guard'
gem 'guard-livereload'
gem 'guard-rspec'
gem 'rack-livereload'
gem 'letter_opener_web', '~> 1.4' # 2.0+ requires Ruby 2.7
gem 'rack-livereload'
gem 'web-console', '>= 3.3.0'

gem 'capistrano'
gem 'capistrano-rails'
gem 'capistrano-bundler'
gem 'capistrano-rails'

gem 'rubocop', require: false
gem 'rubocop-performance', require: false
gem 'rubocop-rspec', require: false

if_true(ENV['SPRING']) do
gem 'spring-commands-rspec'
gem 'spring'
gem 'spring-commands-rspec'
gem 'spring-watcher-listen'
end

group :test do
gem 'coveralls', require: false
gem 'capybara', '~> 2.18'
gem 'capybara-screenshot'
gem 'capybara-select-2', github: 'Hirurg103/capybara_select2', ref: 'fbf22fb74dec10fa0edcd26da7c5184ba8fa2c76', require: false
gem 'poltergeist'
gem 'pry-rails'
gem 'pry-byebug'
gem 'capybara'
gem 'capybara-select-2', github: 'Hirurg103/capybara_select2', require: false
gem 'puma'
gem 'rails-controller-testing'
gem 'rr', require: false
gem 'rspec'
gem 'rspec-mocks'
gem 'rspec-rails'
gem 'rspec-collection_matchers'
gem 'rspec-html-matchers'
gem 'rails-controller-testing'
gem 'rspec-mocks'
gem 'rspec-rails'
gem 'selenium-webdriver'
gem 'shoulda-matchers'
gem 'simplecov', require: false
gem 'simplecov-lcov', '~> 0.8.0', require: false
gem 'vcr'
gem 'webmock', '~> 3.5.1'
gem 'webmock'
end
end

Expand All @@ -178,18 +183,17 @@ end

# Platform requirements.
require 'rbconfig'
gem 'ffi', '>= 1.9.4' # required by typhoeus; 1.9.4 has fixes for *BSD.
gem 'ffi', '>= 1.9.4' # required by typhoeus; 1.9.4 has fixes for *BSD.
gem 'tzinfo', '>= 1.2.0' # required by rails; 1.2.0 has support for *BSD and Solaris.
# Windows does not have zoneinfo files, so bundle the tzinfo-data gem.
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
# BSD systems require rb-kqueue for "listen" to avoid polling for changes.
gem 'rb-kqueue', '>= 0.2', require: /bsd|dragonfly/i === RbConfig::CONFIG['target_os']


on_heroku = ENV['ON_HEROKU'] ||
ENV['HEROKU_POSTGRESQL_ROSE_URL'] ||
ENV['HEROKU_POSTGRESQL_GOLD_URL'] ||
File.read(File.join(File.dirname(__FILE__), 'Procfile')) =~ /intended for Heroku/
ENV['HEROKU_POSTGRESQL_ROSE_URL'] ||
ENV['HEROKU_POSTGRESQL_GOLD_URL'] ||
File.read(File.join(File.dirname(__FILE__), 'Procfile')) =~ /intended for Heroku/

ENV['DATABASE_ADAPTER'] ||=
if on_heroku
Expand Down

0 comments on commit e5d31b7

Please sign in to comment.