Skip to content

Commit

Permalink
Merge pull request #115 from netbe/feature/fastlane-compatibility
Browse files Browse the repository at this point in the history
Fastlane compatibility
  • Loading branch information
netbe authored Aug 7, 2019
2 parents fcac037 + 767a097 commit 34f427d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion babelish.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |s|

s.add_dependency "thor"

s.add_dependency "google_drive", "~> 2.1.12"
s.add_dependency "google_drive", "~> 3.0"
s.add_dependency "nokogiri"
# google_drive dependency to ask for mail and password
s.add_dependency "highline"
Expand Down
19 changes: 19 additions & 0 deletions test/babelish/test_fastlane.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require "test_helper"
class TestFastlane < Test::Unit::TestCase
def test_current_fastlane_compatibility
system("mkdir tmp_fastlane")
gemfile_content = <<-HEREDOC
source "http://rubygems.org"
gem 'fastlane', '2.126.0'
gem 'babelish', path: '../..'
HEREDOC

gemfile_fullpath = "tmp_fastlane/Gemfile"
File.write(gemfile_fullpath, gemfile_content, mode: "a")
Dir.chdir("tmp_fastlane") do
successful = system("bundle install")
assert successful == true, "fastlane current version is not compatible"
end
system("rm -rf tmp_fastlane")
end
end

0 comments on commit 34f427d

Please sign in to comment.