tug 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -1
- data/.travis.yml +3 -2
- data/Gemfile.lock +75 -0
- data/README.md +2 -1
- data/lib/tug.rb +2 -0
- data/lib/tug/config/config_file.rb +16 -1
- data/lib/tug/config/ipa_config_file.rb +14 -0
- data/lib/tug/config/keychain_config_file.rb +14 -0
- data/lib/tug/deployment/notes_parser.rb +1 -1
- data/lib/tug/interface/interface.rb +46 -50
- data/lib/tug/keychain/keychain.rb +5 -0
- data/lib/tug/project/project.rb +5 -0
- data/lib/tug/version.rb +1 -1
- data/spec/config_file_spec.rb +4 -3
- data/spec/ipa_config_file_spec.rb +27 -0
- data/spec/keychain_config_file_spec.rb +27 -0
- data/spec/notes_file_parser_spec.rb +6 -1
- data/spec/spec_helper.rb +10 -3
- data/spec/test_special_notes.txt +1 -0
- data/tug.gemspec +1 -0
- metadata +52 -15
- checksums.yaml +0 -7
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
language: ruby
|
2
|
+
env: CODECLIMATE_REPO_TOKEN=b8dd6ed54007032ccf75bfcc639e8f79c3ff3836307c0c910ea84e09506e8016
|
2
3
|
cache:
|
3
4
|
directories:
|
4
5
|
- vendor/bundle
|
5
6
|
rvm:
|
6
7
|
- 2.0.0
|
7
8
|
|
8
|
-
install: bundle install --
|
9
|
-
script: rspec spec
|
9
|
+
install: bundle install --deployment
|
10
|
+
script: bundle exec rspec spec
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
tug (0.1.2)
|
5
|
+
thor
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
celluloid (0.16.0)
|
11
|
+
timers (~> 4.0.0)
|
12
|
+
codeclimate-test-reporter (0.4.5)
|
13
|
+
simplecov (>= 0.7.1, < 1.0.0)
|
14
|
+
coderay (1.1.0)
|
15
|
+
diff-lcs (1.2.5)
|
16
|
+
docile (1.1.5)
|
17
|
+
ffi (1.9.3)
|
18
|
+
formatador (0.2.5)
|
19
|
+
guard (2.6.1)
|
20
|
+
formatador (>= 0.2.4)
|
21
|
+
listen (~> 2.7)
|
22
|
+
lumberjack (~> 1.0)
|
23
|
+
pry (>= 0.9.12)
|
24
|
+
thor (>= 0.18.1)
|
25
|
+
guard-rspec (4.3.1)
|
26
|
+
guard (~> 2.1)
|
27
|
+
rspec (>= 2.14, < 4.0)
|
28
|
+
hitimes (1.2.2)
|
29
|
+
listen (2.7.9)
|
30
|
+
celluloid (>= 0.15.2)
|
31
|
+
rb-fsevent (>= 0.9.3)
|
32
|
+
rb-inotify (>= 0.9)
|
33
|
+
lumberjack (1.0.9)
|
34
|
+
method_source (0.8.2)
|
35
|
+
multi_json (1.10.1)
|
36
|
+
pry (0.10.1)
|
37
|
+
coderay (~> 1.1.0)
|
38
|
+
method_source (~> 0.8.1)
|
39
|
+
slop (~> 3.4)
|
40
|
+
rake (10.3.2)
|
41
|
+
rb-fsevent (0.9.4)
|
42
|
+
rb-inotify (0.9.5)
|
43
|
+
ffi (>= 0.5.0)
|
44
|
+
rspec (3.1.0)
|
45
|
+
rspec-core (~> 3.1.0)
|
46
|
+
rspec-expectations (~> 3.1.0)
|
47
|
+
rspec-mocks (~> 3.1.0)
|
48
|
+
rspec-core (3.1.0)
|
49
|
+
rspec-support (~> 3.1.0)
|
50
|
+
rspec-expectations (3.1.0)
|
51
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
+
rspec-support (~> 3.1.0)
|
53
|
+
rspec-mocks (3.1.0)
|
54
|
+
rspec-support (~> 3.1.0)
|
55
|
+
rspec-support (3.1.0)
|
56
|
+
simplecov (0.9.1)
|
57
|
+
docile (~> 1.1.0)
|
58
|
+
multi_json (~> 1.0)
|
59
|
+
simplecov-html (~> 0.8.0)
|
60
|
+
simplecov-html (0.8.0)
|
61
|
+
slop (3.6.0)
|
62
|
+
thor (0.19.1)
|
63
|
+
timers (4.0.0)
|
64
|
+
hitimes
|
65
|
+
|
66
|
+
PLATFORMS
|
67
|
+
ruby
|
68
|
+
|
69
|
+
DEPENDENCIES
|
70
|
+
bundler (~> 1.3)
|
71
|
+
codeclimate-test-reporter
|
72
|
+
guard-rspec
|
73
|
+
rake
|
74
|
+
rspec
|
75
|
+
tug!
|
data/README.md
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
Build and deploy iOS applications
|
6
6
|
|
7
7
|
[![Build Status](https://travis-ci.org/alexfish/tug.svg?branch=feature%2Fbuild)](https://travis-ci.org/alexfish/tug)
|
8
|
-
[![Code Climate](https://codeclimate.com/github/alexfish/tug.
|
8
|
+
[![Code Climate](https://codeclimate.com/github/alexfish/tug/badges/gpa.svg)](https://codeclimate.com/github/alexfish/tug)
|
9
|
+
[![Test Coverage](https://codeclimate.com/github/alexfish/tug/badges/coverage.svg)](https://codeclimate.com/github/alexfish/tug)
|
9
10
|
|
10
11
|
## Installation
|
11
12
|
|
data/lib/tug.rb
CHANGED
@@ -13,6 +13,8 @@ require "tug/command/provision_command"
|
|
13
13
|
require "tug/interface/interface"
|
14
14
|
|
15
15
|
require "tug/config/config_file"
|
16
|
+
require "tug/config/ipa_config_file"
|
17
|
+
require "tug/config/keychain_config_file"
|
16
18
|
require "tug/config/missing_config_file"
|
17
19
|
|
18
20
|
require "tug/project/project"
|
@@ -5,7 +5,22 @@ module Tug
|
|
5
5
|
attr_reader :keychain
|
6
6
|
|
7
7
|
class << self
|
8
|
-
|
8
|
+
|
9
|
+
def config_file(options)
|
10
|
+
if options.has_key?(:export)
|
11
|
+
Tug::IpaConfigFile.config_file(options)
|
12
|
+
elsif options.has_key?(:keychain)
|
13
|
+
Tug::KeychainConfigFile.config_file(options)
|
14
|
+
elsif options.has_key?(:config)
|
15
|
+
Tug::ConfigFile.config_file_from_path(options[:config])
|
16
|
+
else
|
17
|
+
Tug::MissingConfigFile.new
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
protected
|
22
|
+
|
23
|
+
def config_file_from_path(path=default_path)
|
9
24
|
if path and File.file?(path)
|
10
25
|
Tug::ConfigFile.new(path)
|
11
26
|
else
|
@@ -3,25 +3,25 @@ module Tug
|
|
3
3
|
class Deploy < Thor
|
4
4
|
|
5
5
|
desc "testflight", "deploy an ipa to testflight"
|
6
|
-
option :file,
|
7
|
-
:aliases => "-f",
|
6
|
+
option :file,
|
7
|
+
:aliases => "-f",
|
8
8
|
:default => Dir.glob("*.ipa").first
|
9
|
-
option :dsym,
|
10
|
-
:aliases => "-d",
|
9
|
+
option :dsym,
|
10
|
+
:aliases => "-d",
|
11
11
|
:default => Dir.glob("*.dSYM.zip").first
|
12
|
-
option :api_token,
|
13
|
-
:aliases => "-a",
|
12
|
+
option :api_token,
|
13
|
+
:aliases => "-a",
|
14
14
|
:default => ENV['TUG_TESTFLIGHT_API_TOKEN']
|
15
|
-
option :team_token,
|
16
|
-
:aliases => "-t",
|
15
|
+
option :team_token,
|
16
|
+
:aliases => "-t",
|
17
17
|
:default => ENV['TUG_TESTFLIGHT_TEAM_TOKEN']
|
18
|
-
option :lists,
|
18
|
+
option :lists,
|
19
19
|
:aliases => "-l"
|
20
|
-
option :notify,
|
21
|
-
:aliases => "-n",
|
20
|
+
option :notify,
|
21
|
+
:aliases => "-n",
|
22
22
|
:default => false
|
23
|
-
option :release_notes,
|
24
|
-
:aliases => "-r",
|
23
|
+
option :release_notes,
|
24
|
+
:aliases => "-r",
|
25
25
|
:default => "This build was uploaded via Tug"
|
26
26
|
def testflight
|
27
27
|
deployer = Tug::Testflight.new(options)
|
@@ -29,31 +29,31 @@ module Tug
|
|
29
29
|
end
|
30
30
|
|
31
31
|
desc "hockeyapp", "deploy an ipa to hockeyapp"
|
32
|
-
option :file,
|
33
|
-
:aliases => "-f",
|
32
|
+
option :file,
|
33
|
+
:aliases => "-f",
|
34
34
|
:default => Dir.glob("*.ipa").first
|
35
|
-
option :dsym,
|
36
|
-
:aliases => "-d",
|
35
|
+
option :dsym,
|
36
|
+
:aliases => "-d",
|
37
37
|
:default => Dir.glob("*.dSYM.zip").first
|
38
|
-
option :api_token,
|
39
|
-
:aliases => "-a",
|
38
|
+
option :api_token,
|
39
|
+
:aliases => "-a",
|
40
40
|
:default => ENV['TUG_HOCKEYAPP_API_TOKEN']
|
41
|
-
option :notify,
|
42
|
-
:aliases => "-n",
|
41
|
+
option :notify,
|
42
|
+
:aliases => "-n",
|
43
43
|
:default => 0
|
44
|
-
option :release_notes,
|
45
|
-
:aliases => "-r",
|
44
|
+
option :release_notes,
|
45
|
+
:aliases => "-r",
|
46
46
|
:default => "This build was uploaded via Tug"
|
47
|
-
option :notes_type,
|
48
|
-
:aliases => "-y",
|
47
|
+
option :notes_type,
|
48
|
+
:aliases => "-y",
|
49
49
|
:default => 1
|
50
|
-
option :status,
|
50
|
+
option :status,
|
51
51
|
:aliases => "-s"
|
52
|
-
option :tags,
|
52
|
+
option :tags,
|
53
53
|
:aliases => "-t"
|
54
|
-
option :teams,
|
54
|
+
option :teams,
|
55
55
|
:aliases => "-e"
|
56
|
-
option :users,
|
56
|
+
option :users,
|
57
57
|
:aliases => "-u"
|
58
58
|
option :mandatory,
|
59
59
|
:aliases => "-m"
|
@@ -85,45 +85,41 @@ module Tug
|
|
85
85
|
class Interface < Thor
|
86
86
|
|
87
87
|
desc "build", "build a project"
|
88
|
-
option :config,
|
89
|
-
:default => "#{Dir.pwd}/.tug.yml",
|
88
|
+
option :config,
|
89
|
+
:default => "#{Dir.pwd}/.tug.yml",
|
90
90
|
:aliases => "-c"
|
91
91
|
def build
|
92
|
-
config_file = Tug::ConfigFile.config_file(options
|
92
|
+
config_file = Tug::ConfigFile.config_file(options)
|
93
93
|
execute(__method__.to_s, config_file)
|
94
94
|
end
|
95
95
|
|
96
96
|
desc "ipa", "generate an ipa"
|
97
|
-
option :config,
|
98
|
-
:default => "#{Dir.pwd}/.tug.yml",
|
97
|
+
option :config,
|
98
|
+
:default => "#{Dir.pwd}/.tug.yml",
|
99
99
|
:aliases => "-c"
|
100
|
-
option :export,
|
101
|
-
:default => "#{Dir.pwd}",
|
100
|
+
option :export,
|
101
|
+
:default => "#{Dir.pwd}",
|
102
102
|
:aliases => "-e"
|
103
|
-
option :build_config,
|
104
|
-
:default => "Release",
|
103
|
+
option :build_config,
|
104
|
+
:default => "Release",
|
105
105
|
:aliases => "-b"
|
106
106
|
def ipa
|
107
|
-
config_file = Tug::ConfigFile.config_file(options
|
108
|
-
config_file.project.ipa_export_path = options[:export]
|
109
|
-
config_file.project.ipa_config = options[:build_config]
|
107
|
+
config_file = Tug::ConfigFile.config_file(options)
|
110
108
|
execute(__method__.to_s, config_file)
|
111
109
|
end
|
112
110
|
|
113
111
|
desc "provision", "provision system distrubution certificates and provisioning profile"
|
114
|
-
option :config,
|
115
|
-
:default => "#{Dir.pwd}/.tug.yml",
|
112
|
+
option :config,
|
113
|
+
:default => "#{Dir.pwd}/.tug.yml",
|
116
114
|
:aliases => "-c"
|
117
|
-
option :keychain,
|
118
|
-
:default => "tug",
|
115
|
+
option :keychain,
|
116
|
+
:default => "tug",
|
119
117
|
:aliases => "-k"
|
120
|
-
option :password,
|
121
|
-
:aliases => "-p",
|
118
|
+
option :password,
|
119
|
+
:aliases => "-p",
|
122
120
|
:default => ENV['TUG_P12_PASSWORD']
|
123
121
|
def provision
|
124
|
-
config_file = Tug::ConfigFile.config_file(options
|
125
|
-
config_file.keychain.name = options[:keychain]
|
126
|
-
config_file.keychain.private_key_password = options[:password]
|
122
|
+
config_file = Tug::ConfigFile.config_file(options)
|
127
123
|
execute(__method__.to_s, config_file)
|
128
124
|
end
|
129
125
|
|
data/lib/tug/project/project.rb
CHANGED
data/lib/tug/version.rb
CHANGED
data/spec/config_file_spec.rb
CHANGED
@@ -2,24 +2,25 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe Tug::ConfigFile do
|
4
4
|
|
5
|
-
before(:each) do
|
5
|
+
before(:each) do
|
6
6
|
file = File.expand_path(File.join(File.dirname(__FILE__), "../lib/tug/config/.tug.yml"))
|
7
7
|
config = YAML.load_file(file)
|
8
8
|
allow(YAML).to receive(:load_file).and_return(config)
|
9
9
|
@config_file = Tug::ConfigFile.new("path")
|
10
|
+
@options = {:config => "path"}
|
10
11
|
end
|
11
12
|
|
12
13
|
describe "when returning a config file" do
|
13
14
|
it "should return a config file for a path" do
|
14
15
|
expect(File).to receive(:file?).and_return(true)
|
15
|
-
config_file = Tug::ConfigFile.config_file(
|
16
|
+
config_file = Tug::ConfigFile.config_file(@options)
|
16
17
|
expect(config_file).to be_kind_of(Tug::ConfigFile)
|
17
18
|
end
|
18
19
|
|
19
20
|
it "should return a missing config file for no file found" do
|
20
21
|
allow_any_instance_of(Tug::MissingConfigFile).to receive(:abort)
|
21
22
|
expect(File).to receive(:file?).and_return(false)
|
22
|
-
config_file = Tug::ConfigFile.config_file(
|
23
|
+
config_file = Tug::ConfigFile.config_file(@options)
|
23
24
|
expect(config_file).to be_kind_of(Tug::MissingConfigFile)
|
24
25
|
end
|
25
26
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe Tug::IpaConfigFile do
|
4
|
+
|
5
|
+
before(:each) do
|
6
|
+
file = File.expand_path(File.join(File.dirname(__FILE__), "../lib/tug/config/.tug.yml"))
|
7
|
+
config = YAML.load_file(file)
|
8
|
+
allow(YAML).to receive(:load_file).and_return(config)
|
9
|
+
@config_file = Tug::ConfigFile.new("path")
|
10
|
+
@options = {:config => "path", :export => "export", :build_config => "config"}
|
11
|
+
end
|
12
|
+
|
13
|
+
describe "when returning a config file" do
|
14
|
+
it "should set the projects export" do
|
15
|
+
expect(File).to receive(:file?).and_return(true)
|
16
|
+
config_file = Tug::ConfigFile.config_file(@options)
|
17
|
+
expect(config_file.project.ipa_export_path).to match("export")
|
18
|
+
end
|
19
|
+
|
20
|
+
it "should set the projects build config" do
|
21
|
+
expect(File).to receive(:file?).and_return(true)
|
22
|
+
config_file = Tug::ConfigFile.config_file(@options)
|
23
|
+
|
24
|
+
expect(config_file.project.ipa_config).to match("config")
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe Tug::KeychainConfigFile do
|
4
|
+
|
5
|
+
before(:each) do
|
6
|
+
file = File.expand_path(File.join(File.dirname(__FILE__), "../lib/tug/config/.tug.yml"))
|
7
|
+
config = YAML.load_file(file)
|
8
|
+
allow(YAML).to receive(:load_file).and_return(config)
|
9
|
+
@config_file = Tug::ConfigFile.new("path")
|
10
|
+
@options = {:config => "path", :keychain => "keychain", :password => "password"}
|
11
|
+
end
|
12
|
+
|
13
|
+
describe "when returning a config file" do
|
14
|
+
it "should set the keychain name" do
|
15
|
+
expect(File).to receive(:file?).and_return(true)
|
16
|
+
config_file = Tug::ConfigFile.config_file(@options)
|
17
|
+
expect(config_file.keychain.name).to match("keychain")
|
18
|
+
end
|
19
|
+
|
20
|
+
it "should set the keychain password" do
|
21
|
+
expect(File).to receive(:file?).and_return(true)
|
22
|
+
config_file = Tug::ConfigFile.config_file(@options)
|
23
|
+
|
24
|
+
expect(config_file.keychain.private_key_password).to match("password")
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -1,12 +1,17 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Tug::NotesFileParser do
|
4
|
-
|
4
|
+
|
5
5
|
describe "When parsing notes" do
|
6
6
|
|
7
7
|
it "should parse notes from a file" do
|
8
8
|
parser = Tug::NotesFileParser.new(release_notes_path)
|
9
9
|
expect(parser.notes).to match("Hello World")
|
10
10
|
end
|
11
|
+
|
12
|
+
it "should parse notes with sepcial characters" do
|
13
|
+
parser = Tug::NotesFileParser.new(special_release_notes_path)
|
14
|
+
expect(parser.notes).to match("#Hello World's")
|
15
|
+
end
|
11
16
|
end
|
12
17
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
require "tug"
|
2
|
+
require "codeclimate-test-reporter"
|
3
|
+
|
4
|
+
CodeClimate::TestReporter.start
|
2
5
|
|
3
6
|
module Helpers
|
4
7
|
def project_yaml
|
@@ -9,15 +12,19 @@ module Helpers
|
|
9
12
|
end
|
10
13
|
|
11
14
|
def keychain_yaml
|
12
|
-
{"keychain" => {"apple_certificate" => "apple",
|
13
|
-
"distribution_certificate" => "dist",
|
14
|
-
"distribution_profile" => "path/to/profile",
|
15
|
+
{"keychain" => {"apple_certificate" => "apple",
|
16
|
+
"distribution_certificate" => "dist",
|
17
|
+
"distribution_profile" => "path/to/profile",
|
15
18
|
"private_key" => "private"}}
|
16
19
|
end
|
17
20
|
|
18
21
|
def release_notes_path
|
19
22
|
File.join(File.dirname(__FILE__), 'test_notes.txt')
|
20
23
|
end
|
24
|
+
|
25
|
+
def special_release_notes_path
|
26
|
+
File.join(File.dirname(__FILE__), 'test_special_notes.txt')
|
27
|
+
end
|
21
28
|
end
|
22
29
|
|
23
30
|
RSpec.configure do |config|
|
@@ -0,0 +1 @@
|
|
1
|
+
#Hello World's
|
data/tug.gemspec
CHANGED
metadata
CHANGED
@@ -1,32 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Alex Fish
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2015-01-15 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: thor
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- - '>='
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '0'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- - '>='
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0'
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: bundler
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,43 +46,65 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rake
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- - '>='
|
51
|
+
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- - '>='
|
59
|
+
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '0'
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: rspec
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- - '>='
|
67
|
+
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: '0'
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- - '>='
|
75
|
+
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '0'
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: guard-rspec
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
|
-
- - '>='
|
83
|
+
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
75
85
|
version: '0'
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
|
-
- - '>='
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: codeclimate-test-reporter
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
81
108
|
- !ruby/object:Gem::Version
|
82
109
|
version: '0'
|
83
110
|
description: Build and deploy iOS project
|
@@ -91,6 +118,7 @@ files:
|
|
91
118
|
- .gitignore
|
92
119
|
- .travis.yml
|
93
120
|
- Gemfile
|
121
|
+
- Gemfile.lock
|
94
122
|
- Guardfile
|
95
123
|
- LICENSE
|
96
124
|
- LICENSE.txt
|
@@ -105,6 +133,8 @@ files:
|
|
105
133
|
- lib/tug/command/provision_command.rb
|
106
134
|
- lib/tug/config/.tug.yml
|
107
135
|
- lib/tug/config/config_file.rb
|
136
|
+
- lib/tug/config/ipa_config_file.rb
|
137
|
+
- lib/tug/config/keychain_config_file.rb
|
108
138
|
- lib/tug/config/missing_config_file.rb
|
109
139
|
- lib/tug/deployment/deployer.rb
|
110
140
|
- lib/tug/deployment/hockeyapp.rb
|
@@ -125,6 +155,8 @@ files:
|
|
125
155
|
- spec/deployer_spec.rb
|
126
156
|
- spec/hockapp_spec.rb
|
127
157
|
- spec/ipa_command_spec.rb
|
158
|
+
- spec/ipa_config_file_spec.rb
|
159
|
+
- spec/keychain_config_file_spec.rb
|
128
160
|
- spec/keychain_spec.rb
|
129
161
|
- spec/notes_file_parser_spec.rb
|
130
162
|
- spec/output.txt
|
@@ -132,32 +164,34 @@ files:
|
|
132
164
|
- spec/release_notes_spec.rb
|
133
165
|
- spec/spec_helper.rb
|
134
166
|
- spec/test_notes.txt
|
167
|
+
- spec/test_special_notes.txt
|
135
168
|
- spec/testflight_spec.rb
|
136
169
|
- spec/xctool_spec.rb
|
137
170
|
- tug.gemspec
|
138
171
|
homepage: https://github.com/alexfish/tug
|
139
172
|
licenses:
|
140
173
|
- MIT
|
141
|
-
metadata: {}
|
142
174
|
post_install_message:
|
143
175
|
rdoc_options: []
|
144
176
|
require_paths:
|
145
177
|
- lib
|
146
178
|
required_ruby_version: !ruby/object:Gem::Requirement
|
179
|
+
none: false
|
147
180
|
requirements:
|
148
|
-
- - '>='
|
181
|
+
- - ! '>='
|
149
182
|
- !ruby/object:Gem::Version
|
150
183
|
version: '0'
|
151
184
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
152
186
|
requirements:
|
153
|
-
- - '>='
|
187
|
+
- - ! '>='
|
154
188
|
- !ruby/object:Gem::Version
|
155
189
|
version: '0'
|
156
190
|
requirements: []
|
157
191
|
rubyforge_project:
|
158
|
-
rubygems_version:
|
192
|
+
rubygems_version: 1.8.23
|
159
193
|
signing_key:
|
160
|
-
specification_version:
|
194
|
+
specification_version: 3
|
161
195
|
summary: iOS project builder and depoloyer
|
162
196
|
test_files:
|
163
197
|
- spec/build_command_spec.rb
|
@@ -166,6 +200,8 @@ test_files:
|
|
166
200
|
- spec/deployer_spec.rb
|
167
201
|
- spec/hockapp_spec.rb
|
168
202
|
- spec/ipa_command_spec.rb
|
203
|
+
- spec/ipa_config_file_spec.rb
|
204
|
+
- spec/keychain_config_file_spec.rb
|
169
205
|
- spec/keychain_spec.rb
|
170
206
|
- spec/notes_file_parser_spec.rb
|
171
207
|
- spec/output.txt
|
@@ -173,5 +209,6 @@ test_files:
|
|
173
209
|
- spec/release_notes_spec.rb
|
174
210
|
- spec/spec_helper.rb
|
175
211
|
- spec/test_notes.txt
|
212
|
+
- spec/test_special_notes.txt
|
176
213
|
- spec/testflight_spec.rb
|
177
214
|
- spec/xctool_spec.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: a57b7de660e3ca5c1215173e39f045e292e42d7f
|
4
|
-
data.tar.gz: aab71d8938f647d4d6df7eb181c8a0109af56de1
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: d1c78cd1dadd20fb88b30218289558d46c5609145a37237a24ee812c5d9fc68306b3accc68dfff479f60fc2355be34ecd93daa80a45de815bb39d05e973a00f0
|
7
|
-
data.tar.gz: f32b83b3082a96e7e97727e1f45ea960ec51a0406d274d9edba8b496c1e53d8d3cd7c45da4b2ab83ee13f2d489f14f424555c39178430663fc4514e5e874fb2e
|