2017-05-18 02:47:45 +02:00
|
|
|
alias __source_distinct__ source
|
|
|
|
def source(url)
|
|
|
|
@loaded ||= {}
|
|
|
|
unless @loaded[url]
|
|
|
|
@loaded[url] = true
|
|
|
|
__source_distinct__(url) end end
|
|
|
|
|
|
|
|
source 'https://rubygems.org'
|
|
|
|
|
2019-05-03 12:48:14 +02:00
|
|
|
ruby '>= 2.3.0'
|
|
|
|
|
2017-05-18 02:47:45 +02:00
|
|
|
group :default do
|
|
|
|
gem 'oauth', '>= 0.5.1'
|
|
|
|
gem 'json_pure', '~> 1.8'
|
2019-05-03 12:48:14 +02:00
|
|
|
gem 'addressable', '>= 2.5.2', '< 2.6'
|
|
|
|
gem 'diva', '>= 0.3.2', '< 2.0'
|
2017-10-31 05:33:52 +01:00
|
|
|
gem 'memoist', '>= 0.16', '< 0.17'
|
2017-05-18 02:47:45 +02:00
|
|
|
gem 'ruby-hmac', '~> 0.4'
|
|
|
|
gem 'typed-array', '~> 0.1'
|
|
|
|
gem 'delayer', '~> 0.0'
|
|
|
|
gem 'pluggaloid', '>= 1.1.1', '< 2.0'
|
2019-05-03 12:48:14 +02:00
|
|
|
gem 'delayer-deferred', '>= 2.0', '< 3.0'
|
|
|
|
gem 'twitter-text', '>= 2.1.0'
|
2017-05-18 02:47:45 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
group :test do
|
|
|
|
gem 'test-unit', '~> 3.0'
|
|
|
|
gem 'rake', '~> 10.1'
|
|
|
|
gem 'watch', '~> 0.1'
|
|
|
|
gem 'mocha', '~> 0.14'
|
|
|
|
gem 'webmock', '~> 1.17'
|
|
|
|
gem 'ruby-prof'
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
group :plugin do
|
2017-10-31 05:33:52 +01:00
|
|
|
Dir.glob(File.expand_path(File.join(__dir__, 'core/plugin/*/Gemfile'))){ |path|
|
|
|
|
eval File.open(path).read
|
|
|
|
}
|
|
|
|
Dir.glob(File.join(File.expand_path(ENV['MIKUTTER_CONFROOT'] || '~/.mikutter'), 'plugin/*/Gemfile')){ |path|
|
2017-05-18 02:47:45 +02:00
|
|
|
eval File.open(path).read
|
|
|
|
}
|
|
|
|
end
|