spaceship 0.39.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76862f69fcc199bcda08fcab61497db6a41e3873
4
- data.tar.gz: ce8e7254767f3efd3c1dfe4ff9745c277db99bbf
3
+ metadata.gz: b758f719a4cdb4958bdac80f4e32256e467d9dfc
4
+ data.tar.gz: 7066ed6eaf58517467b857dcca77b06dff89f5b8
5
5
  SHA512:
6
- metadata.gz: 356d066446fa9befa67bbc553897ce3fabd260a061c1b14ed1246d1edaf7223b700084fa8bcca7b78bc706a65afa03f12e73dcdeda91b1c877d446b7315fd77c
7
- data.tar.gz: a306ce8b516182d6816b6563fc1c01b148270ee27db80e87fa625c018a369f00902800ebe1dfef7debd9442dec337d4022f8875a59b0e861b2e5d2131e1f3ab4
6
+ metadata.gz: d6e527eaab20ab442479d8fd95056114bdbfc0a7460dc208c917873e8a5a15052ca1ba3b20418587a44a58e0cf69a3523593b94480216e1a720375d85b20e36d
7
+ data.tar.gz: a169f4ee5c6fa005e17ce668d619bb15f178e94b91bd88b0176f91e12607fc5361e90e4642ead39bb9d0d41e08a7c4d4c2cde380a709c8810dc57afa977af3f9
@@ -1,6 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
2
  $LOAD_PATH.push File.expand_path("../../lib", __FILE__)
3
- require "colored"
3
+ require 'colored'
4
+ require 'shellwords'
5
+ tool_name = "spaceauth"
6
+ full_params = ARGV.shelljoin
7
+ puts "[WARNING] You are calling #{tool_name} directly. Usage of the tool name without the `fastlane` prefix is deprecated in fastlane 2.0".yellow
8
+ puts "Please update your scripts to use `fastlane #{tool_name} #{full_params}` instead.".yellow
4
9
 
5
10
  # First we have to check if the user has `pry` installed
6
11
  # We don't want to add pry as a spaceship dependency, as
@@ -1,6 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
2
  $LOAD_PATH.push File.expand_path("../../lib", __FILE__)
3
- require "colored"
3
+ require 'colored'
4
+ require 'shellwords'
5
+ tool_name = "spaceship"
6
+ full_params = ARGV.shelljoin
7
+ puts "[WARNING] You are calling #{tool_name} directly. Usage of the tool name without the `fastlane` prefix is deprecated in fastlane 2.0".yellow
8
+ puts "Please update your scripts to use `fastlane #{tool_name} #{full_params}` instead.".yellow
4
9
 
5
10
  # First we have to check if the user has `pry` installed
6
11
  # We don't want to add pry as a spaceship dependency, as
@@ -1,12 +1,13 @@
1
1
  require 'faraday' # HTTP Client
2
- require 'logger'
3
- require 'faraday_middleware'
4
2
  require 'faraday-cookie_jar'
5
- require 'spaceship/ui'
6
- require 'spaceship/helper/plist_middleware'
3
+ require 'faraday_middleware'
4
+ require 'fastlane/version'
5
+ require 'logger'
6
+ require 'spaceship/babosa_fix'
7
7
  require 'spaceship/helper/net_http_generic_request'
8
+ require 'spaceship/helper/plist_middleware'
9
+ require 'spaceship/ui'
8
10
  require 'tmpdir'
9
- require 'spaceship/babosa_fix'
10
11
 
11
12
  Faraday::Utils.default_params_encoder = Faraday::FlatParamsEncoder
12
13
 
@@ -64,7 +64,7 @@ module Spaceship
64
64
  def find(identifier, mac: false)
65
65
  all.find do |app|
66
66
  (app.apple_id == identifier.to_s || app.bundle_id == identifier) &&
67
- app.version_sets.any? { |v| v.platform == (mac ? "osx" : "ios") }
67
+ app.version_sets.any? { |v| (mac ? ["osx"] : ["ios", "appletvos"]).include?(v.platform) }
68
68
  end
69
69
  end
70
70
 
@@ -1,4 +1,4 @@
1
1
  module Spaceship
2
- VERSION = "0.39.0".freeze
2
+ VERSION = "1.0.0".freeze
3
3
  DESCRIPTION = "Ruby library to access the Apple Dev Center and iTunes Connect".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaceship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-12-13 00:00:00.000000000 Z
12
+ date: 2016-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager
@@ -203,16 +203,16 @@ dependencies:
203
203
  name: rake
204
204
  requirement: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - ">="
206
+ - - "<"
207
207
  - !ruby/object:Gem::Version
208
- version: '0'
208
+ version: '12'
209
209
  type: :development
210
210
  prerelease: false
211
211
  version_requirements: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ">="
213
+ - - "<"
214
214
  - !ruby/object:Gem::Version
215
- version: '0'
215
+ version: '12'
216
216
  - !ruby/object:Gem::Dependency
217
217
  name: coveralls
218
218
  requirement: !ruby/object:Gem::Requirement
@@ -401,7 +401,8 @@ homepage: https://fastlane.tools
401
401
  licenses:
402
402
  - MIT
403
403
  metadata: {}
404
- post_install_message:
404
+ post_install_message: "\e[1;33;40mPlease use `fastlane spaceship` instead of `spaceship`
405
+ from now on.\e[0m"
405
406
  rdoc_options: []
406
407
  require_paths:
407
408
  - lib
@@ -417,7 +418,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
417
418
  version: '0'
418
419
  requirements: []
419
420
  rubyforge_project:
420
- rubygems_version: 2.5.1
421
+ rubygems_version: 2.6.8
421
422
  signing_key:
422
423
  specification_version: 4
423
424
  summary: Ruby library to access the Apple Dev Center and iTunes Connect