-
Notifications
You must be signed in to change notification settings - Fork 935
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #713 from bf4/correct_deps
Tests against all the mime-types; correct dependencies once and for all
- Loading branch information
Showing
16 changed files
with
207 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ | |
/.idea | ||
/.rbenv-vars | ||
/.ruby-version | ||
gemfiles/*.lock |
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,18 +1,42 @@ | ||
language: ruby | ||
bundler_args: --path vendor/bundle | ||
script: bundle exec rake | ||
before_install: | ||
- gem install bundler | ||
- bundle config --local without local_development | ||
gemfile: | ||
- gemfiles/mime_types_1.16.gemfile | ||
- gemfiles/mime_types_2.0.gemfile | ||
- gemfiles/mime_types_2.1.gemfile | ||
- gemfiles/mime_types_2.2.gemfile | ||
- gemfiles/mime_types_2.3.gemfile | ||
- gemfiles/mime_types_2.latest.gemfile | ||
- gemfiles/mime_types_edge.gemfile | ||
rvm: | ||
- 1.8.7 | ||
- 1.9.2 | ||
- 1.9.3 | ||
- 2.0.0 | ||
- ruby-head | ||
- jruby-18mode | ||
- jruby-19mode | ||
- jruby | ||
- jruby-head | ||
- rbx-18mode | ||
- rbx-19mode | ||
- rbx-2 | ||
matrix: | ||
exclude: | ||
- rvm: 1.8.7 | ||
gemfile: gemfiles/mime_types_2.0.gemfile | ||
- rvm: 1.8.7 | ||
gemfile: gemfiles/mime_types_2.1.gemfile | ||
- rvm: 1.8.7 | ||
gemfile: gemfiles/mime_types_2.2.gemfile | ||
- rvm: 1.8.7 | ||
gemfile: gemfiles/mime_types_2.3.gemfile | ||
- rvm: 1.8.7 | ||
gemfile: gemfiles/mime_types_2.latest.gemfile | ||
- rvm: 1.8.7 | ||
gemfile: gemfiles/mime_types_edge.gemfile | ||
allow_failures: | ||
- rvm: ruby-head # green, but unstable | ||
- rvm: jruby-head # green, but unstable | ||
- rvm: rbx-18mode # seems to be running 1.9 mode instead!? | ||
- rvm: rbx-19mode # segfaulting in String#ascii_only? | ||
- rvm: rbx-2 # see https://github.com/rubinius/rubinius/issues/3050 | ||
fast_finish: true |
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,27 @@ | ||
appraise "mime-types-1.16" do | ||
gem "mime-types", "~> 1.16" | ||
end | ||
|
||
appraise "mime-types-2.0" do | ||
gem "mime-types", "~> 2.0.0" | ||
end | ||
|
||
appraise "mime-types-2.1" do | ||
gem "mime-types", "~> 2.1.0" | ||
end | ||
|
||
appraise "mime-types-2.2" do | ||
gem "mime-types", "~> 2.2.0" | ||
end | ||
|
||
appraise "mime-types-2.3" do | ||
gem "mime-types", "~> 2.3.0" | ||
end | ||
|
||
appraise "mime-types-2.latest" do | ||
gem "mime-types", "~> 2.3" | ||
end | ||
|
||
appraise "mime-types-edge" do | ||
gem "mime-types", :github => "halostatue/mime-types" | ||
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
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,2 @@ | ||
treetop: we need to include this in the gem spec | ||
tlsmail: if ruby < 1.8.6... we could make it optional, or embed it in Mail | ||
mime/types: I think we embed a simplified version, or help maintain it, it is old (2006) |
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,12 +1,15 @@ | ||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
gemspec | ||
|
||
gem "mime-types", "~> 1.16" | ||
gem "tlsmail" if RUBY_VERSION <= '1.8.6' | ||
gem "tlsmail", "~> 0.0.1" if RUBY_VERSION <= "1.8.6" | ||
gem "jruby-openssl", :platforms => :jruby | ||
|
||
gem 'jruby-openssl', :platform => :jruby | ||
group :development, :test do | ||
gem "appraisal", "~> 1.0" | ||
end | ||
|
||
group :test do | ||
gem "ruby-debug", :platform => :mri_18 | ||
# For gems not required to run tests | ||
group :local_development, :test do | ||
gem "ruby-debug", :platforms => :mri_18 | ||
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
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,16 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "jruby-openssl", :platforms => :jruby | ||
gem "mime-types", "~> 1.16" | ||
|
||
group :development, :test do | ||
gem "appraisal", "~> 1.0" | ||
end | ||
|
||
group :local_development, :test do | ||
gem "ruby-debug", :platforms => :mri_18 | ||
end | ||
|
||
gemspec :path => "../" |
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,16 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "jruby-openssl", :platforms => :jruby | ||
gem "mime-types", "~> 2.0.0" | ||
|
||
group :development, :test do | ||
gem "appraisal", "~> 1.0" | ||
end | ||
|
||
group :local_development, :test do | ||
gem "ruby-debug", :platforms => :mri_18 | ||
end | ||
|
||
gemspec :path => "../" |
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,16 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "jruby-openssl", :platforms => :jruby | ||
gem "mime-types", "~> 2.1.0" | ||
|
||
group :development, :test do | ||
gem "appraisal", "~> 1.0" | ||
end | ||
|
||
group :local_development, :test do | ||
gem "ruby-debug", :platforms => :mri_18 | ||
end | ||
|
||
gemspec :path => "../" |
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,16 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "jruby-openssl", :platforms => :jruby | ||
gem "mime-types", "~> 2.2.0" | ||
|
||
group :development, :test do | ||
gem "appraisal", "~> 1.0" | ||
end | ||
|
||
group :local_development, :test do | ||
gem "ruby-debug", :platforms => :mri_18 | ||
end | ||
|
||
gemspec :path => "../" |
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,16 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "jruby-openssl", :platforms => :jruby | ||
gem "mime-types", "~> 2.3.0" | ||
|
||
group :development, :test do | ||
gem "appraisal", "~> 1.0" | ||
end | ||
|
||
group :local_development, :test do | ||
gem "ruby-debug", :platforms => :mri_18 | ||
end | ||
|
||
gemspec :path => "../" |
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,16 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "jruby-openssl", :platforms => :jruby | ||
gem "mime-types", "~> 2.3" | ||
|
||
group :development, :test do | ||
gem "appraisal", "~> 1.0" | ||
end | ||
|
||
group :local_development, :test do | ||
gem "ruby-debug", :platforms => :mri_18 | ||
end | ||
|
||
gemspec :path => "../" |
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,16 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "jruby-openssl", :platforms => :jruby | ||
gem "mime-types", :github => "halostatue/mime-types" | ||
|
||
group :development, :test do | ||
gem "appraisal", "~> 1.0" | ||
end | ||
|
||
group :local_development, :test do | ||
gem "ruby-debug", :platforms => :mri_18 | ||
end | ||
|
||
gemspec :path => "../" |
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