fastlane 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d8910e532a67b987821ae0fc4377d392ee57a77
4
- data.tar.gz: dbdd4c7e2c6506b126f61d52fd6c48fab273b47a
3
+ metadata.gz: eb6a1aebf8e3b977e86df84f3bb4a35170c132bb
4
+ data.tar.gz: ac8ee20aa0a9e140cbabc8347331e28e0bd5964e
5
5
  SHA512:
6
- metadata.gz: 2ba044f018a24f4c2a6187d2ffdff140a4ad0038b38056bbdcc665a6524385b7c2b8f3f898192052b7df894db72966dfc0f4b9275319e0bb04f8c5d3beb13f59
7
- data.tar.gz: 3b9c5ac88b2e6829bd54e2ed0064b611e16ac407151d31476a1698c9d65c4f90cc39a312c8a66c6de1c230f391616125fdf547d676d4004c1295c0c7b6851520
6
+ metadata.gz: 85568340077223714e1f952300a53fdcc1bd47bf11e0be964c0c46c3d1087823aec7242b89413fd885df20431a61237f35eef140b85575158c9467187d69e007
7
+ data.tar.gz: 5bd1d1c69a2a7e7c219bb2eaaa54c3a53bededee928a7a295257f7307d5f763a95c6e0612ad76eecab13ea894d9c01fcb44af74200b6c74b7bc478feeefa4608
data/bin/fastlane CHANGED
@@ -28,12 +28,16 @@ class FastlaneApplication
28
28
  c.option '--env STRING', String, 'Add environment to use with `dotenv`'
29
29
 
30
30
  c.action do |args, _options|
31
+ FastlaneCore::UpdateChecker.start_looking_for_update('fastlane')
32
+
31
33
  if Fastlane::FastlaneFolder.path
32
34
  Fastlane::LaneManager.cruise_lanes(args, _options.env)
33
35
  else
34
36
  create = agree('Could not find fastlane in current directory. Would you like to set it up? (y/n)'.yellow, true)
35
37
  Fastlane::Setup.new.run if create
36
38
  end
39
+
40
+ FastlaneCore::UpdateChecker.show_update_status('fastlane', Fastlane::VERSION)
37
41
  end
38
42
  end
39
43
 
@@ -42,7 +46,9 @@ class FastlaneApplication
42
46
  c.description = 'Helps you setting up fastlane based on your existing tools.'
43
47
 
44
48
  c.action do |_args, _options|
49
+ FastlaneCore::UpdateChecker.start_looking_for_update('fastlane')
45
50
  Fastlane::Setup.new.run
51
+ FastlaneCore::UpdateChecker.show_update_status('fastlane', Fastlane::VERSION)
46
52
  end
47
53
  end
48
54
 
data/lib/fastlane.rb CHANGED
@@ -17,8 +17,6 @@ require 'colored'
17
17
  module Fastlane
18
18
  Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
19
19
 
20
- FastlaneCore::UpdateChecker.verify_latest_version('fastlane', Fastlane::VERSION)
21
-
22
20
  Fastlane::Actions.load_default_actions
23
21
 
24
22
  if Fastlane::FastlaneFolder.path
@@ -7,6 +7,8 @@ module Fastlane
7
7
  def self.run(params)
8
8
  require 'deliver'
9
9
 
10
+ FastlaneCore::UpdateChecker.start_looking_for_update('deliver')
11
+
10
12
  ENV['DELIVER_SCREENSHOTS_PATH'] = Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH]
11
13
 
12
14
  force = params.include?(:force)
@@ -22,6 +24,8 @@ module Fastlane
22
24
 
23
25
  Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] = File.expand_path(ENV['DELIVER_IPA_PATH']) # deliver will store it in the environment
24
26
  end
27
+
28
+ FastlaneCore::UpdateChecker.show_update_status('deliver', Deliver::VERSION)
25
29
  end
26
30
  end
27
31
  end
@@ -7,7 +7,7 @@ module Fastlane
7
7
 
8
8
  remote = (options && options[:remote]) || 'origin'
9
9
  force = (options && options[:force]) || false
10
- local_branch = (options && (options[:local_branch] || options[:branch])) || Actions.git_branch || 'master'
10
+ local_branch = (options && (options[:local_branch] || options[:branch])) || Actions.git_branch.gsub(/#{remote}\//, '') || 'master'
11
11
  remote_branch = (options && options[:remote_branch]) || local_branch
12
12
 
13
13
  # construct our command as an array of components
@@ -5,7 +5,7 @@ module Fastlane
5
5
  def self.run(params)
6
6
  hash = params.first
7
7
  if params.include?(:force) || hash[:force] || Actions.lane_context[SharedValues::GIT_REPO_WAS_CLEAN_ON_START]
8
- paths = hash[:files]
8
+ paths = (hash[:files] rescue nil)
9
9
 
10
10
  if (paths || []).count == 0
11
11
  Actions.sh('git reset --hard HEAD')
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-08 00:00:00.000000000 Z
11
+ date: 2015-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -134,14 +134,14 @@ dependencies:
134
134
  requirements:
135
135
  - - '>='
136
136
  - !ruby/object:Gem::Version
137
- version: 0.4.3
137
+ version: 0.5.0
138
138
  type: :runtime
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - '>='
143
143
  - !ruby/object:Gem::Version
144
- version: 0.4.3
144
+ version: 0.5.0
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: deliver
147
147
  requirement: !ruby/object:Gem::Requirement