apprepo 0.0.9 → 0.2.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: 487be30e91eb76af18b797e54eb5286b7d6236be
4
- data.tar.gz: 584a6e042028fbd58c9172ddf9b89db5a6ff38e8
3
+ metadata.gz: add71bdf8b87d32348c19129ddf0c40e1cc6c7c5
4
+ data.tar.gz: 5e34d59ec81041727db7bb539f96b026f7235425
5
5
  SHA512:
6
- metadata.gz: ec9e44989a13e06d955ce703636c7e7585fe30ba748e2ed7fc267427e24de4f5c5525d9b88350420e90dc635dc2818611e36176086ab84ecfe306d630220922d
7
- data.tar.gz: bceceaf0296e74faa4f65564f0e77aee7284070322768dfd020165dc49ef3b6f540d2bb00656fcba88fc2d9e6ecef5a4577e80b53cf4c4716d58a89935d1fb46
6
+ metadata.gz: b92a8990b24b7c8d174304ebf60d71734135f00e994d824f9cf44a1a34e504b913c3c5a1b2b38573c7a092494c270dfe098bbc10e1af169d9a7cb46eab9400f6
7
+ data.tar.gz: 0961da19cbe99e5168498d123ccee061cdca18a776a0d9b607315b57d46f42d6f6e21b087f790cb225f6ac898693ae0fc4074cf1cf563717c99e449c15d52eac
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 Felix Krause
3
+ Copyright (c) 2016 Matej Sychra
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -32,11 +32,10 @@
32
32
  apprepo
33
33
  ============
34
34
 
35
- **This project is a preparation phase for fastlane-plugin-apprepo and will eventually deprecate.**
35
+ **This project is now deprecated in favor of [fastlane-plugin-apprepo](https://github.com/suculent/fastlane-plugin-apprepo)**
36
36
 
37
37
  [![Twitter: @igraczech](https://img.shields.io/badge/contact-%40igraczech-green.svg?style=flat)](https://twitter.com/igraczech)
38
38
  [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/fastlane/blob/master/deliver/LICENSE)
39
- ![Status](https://img.shields.io/badge/_waiting--for_-_fastlane--plugins--manager_-yellow.svg)
40
39
  [![Gem](https://img.shields.io/gem/v/apprepo.svg?style=flat)](http://rubygems.org/gems/apprepo)
41
40
  [![Build Status](https://img.shields.io/circleci/project/suculent/apprepo.svg?style=flat)](https://circleci.com/gh/suculent/apprepo)
42
41
  [![Coverage Status](https://coveralls.io/repos/github/suculent/apprepo/badge.svg?branch=master)](https://coveralls.io/github/suculent/apprepo?branch=master)
@@ -61,14 +60,14 @@ Get in contact with the developer on Twitter: [@igraczech](https://twitter.com/i
61
60
 
62
61
  -------
63
62
 
64
- <h5 align="center"><code>apprepo</code> is now just a couple days old 3rd party extension of <a href="https://fastlane.tools">fastlane</a>: The easiest way to automate building and releasing your iOS and Android apps. I'm in contact with Felix Krause to make this part of Fastlane as open SFTP uploader adjacent to `Deliver`.</h5>
63
+ <h5 align="center"><code>apprepo</code> is deprecated 3rd party extension of <a href="https://fastlane.tools">fastlane</a>: The easiest way to automate building and releasing your iOS and Android apps. I'm in contact with Felix Krause to make this part of Fastlane as open SFTP uploader adjacent to `Deliver`.</h5>
65
64
 
66
- # Future Features
67
- - Submit to AppRepo completely automatically
68
- - Upload a new ipa file to AppRepo without Xcode from any Mac
65
+ # Features
66
+ - Submit IPA to AppRepo completely automatically
67
+ - Upload a new IPA file to AppRepo without Xcode from any Mac
69
68
  - Maintain your app manifest locally and push changes to AppRepo
70
69
  - Easily implement a real Continuous Deployment process using [fastlane](https://fastlane.tools)
71
- - Store the configuration in git to easily deploy from **any** Mac, including your Continuous Integration server
70
+ - Store the configuration in git to easily deploy from **any** Mac with installed AppRepo RSA key, including your Continuous Integration server.
72
71
 
73
72
  To upload builds to AppStore check out [deliver](https://github.com/fastlane/fastlane/tree/master/deliver).
74
73
 
@@ -102,12 +101,22 @@ From now on, you can run `apprepo` to deploy a new update, or just upload new ap
102
101
 
103
102
  # Usage
104
103
 
105
- ... to be done ...
104
+ Initialize Repofile or upload IPA and manifest.json based on that file:
106
105
 
107
- # Credentials
106
+ apprepo run
107
+
108
+ Download manifest.json from AppRepo Server:
109
+
110
+ apprepo download_manifest
111
+
112
+ Upload IPA and manifest:
113
+
114
+ apprepo submit
108
115
 
109
- ... to be done ...
116
+ # Credentials
110
117
 
118
+ Matej Sychra
119
+ Felix Krause
111
120
 
112
121
  # Fastlane Tips
113
122
 
@@ -28,6 +28,16 @@ module AppRepo
28
28
  def new
29
29
  UI.message('AppRepo:new')
30
30
  end
31
+
32
+ def download_manifest
33
+ cgen = CommandsGenerator.new
34
+ cgen.download_manifest
35
+ end
36
+
37
+ def run
38
+ cgen = CommandsGenerator.new
39
+ cgen.run
40
+ end
31
41
  end
32
42
 
33
43
  Encoding.default_external = Encoding::UTF_8
@@ -35,6 +45,12 @@ module AppRepo
35
45
 
36
46
  Helper = FastlaneCore::Helper
37
47
  UI = FastlaneCore::UI
38
-
39
- CommandsGenerator.new.run
48
+
49
+ # Test only, should be removed...
50
+ UI.message('Initializing new CommandsGenerator')
51
+ cgen = CommandsGenerator.new
52
+ UI.message('Downloading Manifest...')
53
+ cgen.download_manifest
54
+ UI.message('Running Deployment...')
55
+ cgen.run
40
56
  end
@@ -3,13 +3,10 @@ require 'rubygems'
3
3
  require 'json'
4
4
  require 'net/ssh'
5
5
  require 'net/sftp'
6
+ require 'fastlane_core'
6
7
 
7
8
  require_relative 'uploader'
8
9
 
9
- require 'fastlane'
10
- require 'fastlane_core'
11
- require 'fastlane_core/languages'
12
-
13
10
  module AppRepo
14
11
  # Should provide metadata for current appcode
15
12
  class Analyser
@@ -15,6 +15,14 @@ module AppRepo
15
15
  checker.show_update_status('apprepo', AppRepo::VERSION)
16
16
  end
17
17
 
18
+ def download_manifest
19
+ command :download_manifest
20
+ end
21
+
22
+ def init
23
+ command :init
24
+ end
25
+
18
26
  # rubocop:disable Metrics/AbcSize
19
27
  # rubocop:disable Metrics/MethodLength
20
28
  # rubocop:disable Metrics/CyclomaticComplexity
@@ -1,5 +1,5 @@
1
1
  module AppRepo
2
- VERSION = "0.0.9".freeze
2
+ VERSION = "0.2.0".freeze
3
3
  DESCRIPTION = "Upload icon, manifest.json and your app to SFTP server
4
4
  and notify users on updaet using a single command".freeze
5
5
  SUMMARY = "Upload icon, manifest and your app to SFTP".freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apprepo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -9,22 +9,8 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-26 00:00:00.000000000 Z
12
+ date: 2016-12-17 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: fastlane_core
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '0'
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: '0'
28
14
  - !ruby/object:Gem::Dependency
29
15
  name: net-ssh
30
16
  requirement: !ruby/object:Gem::Requirement
@@ -67,6 +53,26 @@ dependencies:
67
53
  - - '='
68
54
  - !ruby/object:Gem::Version
69
55
  version: 1.8.1
56
+ - !ruby/object:Gem::Dependency
57
+ name: plist
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.1'
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 3.1.0
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '3.1'
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 3.1.0
70
76
  - !ruby/object:Gem::Dependency
71
77
  name: fastimage
72
78
  requirement: !ruby/object:Gem::Requirement
@@ -129,20 +135,6 @@ dependencies:
129
135
  - - ">="
130
136
  - !ruby/object:Gem::Version
131
137
  version: 3.1.0
132
- - !ruby/object:Gem::Dependency
133
- name: rspec_junit_formatter
134
- requirement: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: 0.2.2
139
- type: :development
140
- prerelease: false
141
- version_requirements: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 0.2.2
146
138
  - !ruby/object:Gem::Dependency
147
139
  name: pry
148
140
  requirement: !ruby/object:Gem::Requirement
@@ -233,20 +225,6 @@ dependencies:
233
225
  - - "~>"
234
226
  - !ruby/object:Gem::Version
235
227
  version: '0'
236
- - !ruby/object:Gem::Dependency
237
- name: fastlane
238
- requirement: !ruby/object:Gem::Requirement
239
- requirements:
240
- - - "~>"
241
- - !ruby/object:Gem::Version
242
- version: '1.89'
243
- type: :development
244
- prerelease: false
245
- version_requirements: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - "~>"
248
- - !ruby/object:Gem::Version
249
- version: '1.89'
250
228
  description: |-
251
229
  Upload icon, manifest.json and your app to SFTP server
252
230
  and notify users on updaet using a single command