adfastlane 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 74867fdf6638f82d079883610efcf9ca0c4439c0
4
+ data.tar.gz: a3c52ea6c99b0b5a86bb040eba4d16e301d71244
5
+ SHA512:
6
+ metadata.gz: 58106602dfbf1b7409f3776cc9337a0317e501bd899cd26ecc0b77103dcea5d2b7c552116e87626f25169ce4511eaf28c931fdcc110a4fbb77feac0ae901a98f
7
+ data.tar.gz: f0bac7b98de5176c77869b2aa4df62eddeee318926f01c5b6d000762b71601b42568393941224cfb4268da1a70f90b677674df155d2c1bad179e32935d5bda23
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ adfastlane-*.gem
@@ -0,0 +1,18 @@
1
+
2
+ Gem::Specification.new do |s|
3
+ s.name = 'adfastlane'
4
+ s.version = '1.0.0'
5
+ s.executables << 'adfastlane'
6
+ s.date = '2017-09-27'
7
+ s.summary = "Fastlane wrapper for FABERNOVEL TECHNOLOGIES"
8
+ s.description = "Fastlane wrapper for FABERNOVEL TECHNOLOGIES"
9
+ s.authors = ["Nicolas Braun"]
10
+ s.email = 'braunico@gmail.com'
11
+ # use `git ls-files -coz -x *.gem` for development
12
+ s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
13
+ s.homepage = 'http://rubygems.org/gems/adfastlane'
14
+ s.license = 'MIT'
15
+ s.add_dependency 'colored', '~> 1.2'
16
+ s.add_dependency 'fastlane', '~> 2.59'
17
+ s.add_dependency "mustache", "~> 1.0"
18
+ end
data/bin/adfastlane ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'adfastlane'
data/lib/adfastlane.rb ADDED
@@ -0,0 +1,42 @@
1
+ require 'optparse'
2
+ require 'colored'
3
+
4
+ options = {}
5
+ OptionParser.new do |opts|
6
+ opts.banner = "Usage: adfastlane [options]"
7
+ opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
8
+ options[:verbose] = v
9
+ end
10
+ opts.on("-u", "--update", "Update execute bundle update after fetching the remonte Gemfile") do |v|
11
+ options[:update] = v
12
+ end
13
+ opts.on("-h", "--help", "Print this help") do
14
+ puts opts
15
+ exit
16
+ end
17
+ end.parse!
18
+
19
+
20
+
21
+ puts "Preparing fastlane...".yellow
22
+ abort "Failed".red unless system( "fastlane prepare" )
23
+ if options[:update]
24
+ puts "Updating dependencies...".yellow if options[:update]
25
+ abort "Failed".red unless system("BUNDLE_GEMFILE=Gemfile_fastlane bundle update")
26
+ end
27
+ cmd = "BUNDLE_GEMFILE=Gemfile_fastlane bundle exec fastlane "
28
+ ARGV.each do |current|
29
+ if current.include? ":" # that's a key/value we need to check if the value contains spaces
30
+ key, value = current.split(":", 2)
31
+ value = "\"#{value}\"" if value.include? " "
32
+ cmd << key
33
+ cmd << ":"
34
+ cmd << value
35
+ else
36
+ cmd << current
37
+ end
38
+ cmd << " "
39
+ end
40
+ cmd << "--verbose" if options[:verbose]
41
+ puts "Running command #{cmd}".yellow
42
+ abort "Failed".red unless system( "#{cmd}")
metadata ADDED
@@ -0,0 +1,91 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: adfastlane
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Nicolas Braun
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-09-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: colored
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: fastlane
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.59'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.59'
41
+ - !ruby/object:Gem::Dependency
42
+ name: mustache
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
55
+ description: Fastlane wrapper for FABERNOVEL TECHNOLOGIES
56
+ email: braunico@gmail.com
57
+ executables:
58
+ - adfastlane
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - adfastlane.gemspec
64
+ - bin/adfastlane
65
+ - lib/adfastlane.rb
66
+ homepage: http://rubygems.org/gems/adfastlane
67
+ licenses:
68
+ - MIT
69
+ metadata: {}
70
+ post_install_message:
71
+ rdoc_options: []
72
+ require_paths:
73
+ - lib
74
+ required_ruby_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ requirements: []
85
+ rubyforge_project:
86
+ rubygems_version: 2.6.13
87
+ signing_key:
88
+ specification_version: 4
89
+ summary: Fastlane wrapper for FABERNOVEL TECHNOLOGIES
90
+ test_files: []
91
+ has_rdoc: