MTViperFiles 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: 2d2facc0c28e1594f3ccd93f3ba9d543682b45f3ed927ca91737f8d72c254023
4
- data.tar.gz: 4e1781d337a2e83100373f9a0fcf1b26368bd7aba0773c990c6a49732e7cd626
3
+ metadata.gz: 440cb23519673be24d59946c3e3f738618e72ac1de7618012588f08d6b210364
4
+ data.tar.gz: 59585860d5b64abb81426dc60875cb9a1d1c8b00a94214b294199bd2469bdd26
5
5
  SHA512:
6
- metadata.gz: e40d7d390cb4b689f10a7ab3af7b68b82ef80cf0342a87c76af38bfeb0d1d679c385261e41f3d0a98da70cf97cb1eee1e035d02859f0b393d3c6733ebfd683c0
7
- data.tar.gz: 9825198f3fbb724feb59bd86c513730728011cdd6c89bda0145b533f604f6083a90d4c2531f7a18f805b2f1efdff7fae8ae3bce2a623e47727557b0f277731c7
6
+ metadata.gz: ff89091a83c26f942a47c1396ba6a21ab888bc052e963d8ee1232d92a70f1a485005f29fc322bc690b0507b247153178459da8cd41860bd002b48be764c6b214
7
+ data.tar.gz: c438818b05743ca1394856c245e3af83b73afcbd6788a1909b1a0b57ecb4ff697a48ad41a4341eafaadf132c66eae2a0a119e7746c61463d0baa4c1bcac59f0d
data/MTViperFiles.gemspec CHANGED
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
8
8
  spec.version = MTViperFiles::VERSION
9
9
  spec.authors = ["MTTGCC"]
10
10
  spec.email = ["xbwudi20092@gmail.com"]
11
- spec.summary = %q{Generates Objective C files for Viper Module Initialization.}
12
- spec.description = %q{Creates all the files and setup required for Viper Architecture in iOS.}
13
- spec.homepage = "https://github.com/lyle92"
11
+ spec.summary = %q{Generates Viper Module Files.}
12
+ spec.description = %q{Creates iOS Viper Architecture Files.}
13
+ spec.homepage = "https://github.com/lyleLH"
14
14
  spec.licenses = "MIT"
15
15
  spec.files = `git ls-files -z`.split("\x0")
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
data/README.md CHANGED
@@ -1,37 +1,22 @@
1
- # MTViperFiles
2
- MTViperFiles is a automatic code generator for VIPER Architecture in iOS.
3
- It helps in setting up intial project files and creating viper modules in objective C only.
4
- Understand what Viper architecture is : https://medium.com/trendyol-tech/creating-an-ios-viper-module-step-by-step-guide-cd1f414b7dd3
5
-
6
- ## Requirements
7
- * Objective-C
8
- * ruby
9
-
10
1
  ## Installation
11
2
 
12
3
  Install gem with:
13
4
 
14
- $ gem install MTViperFiles
5
+ 1. $ gem install MTViperFiles //暂未发布
6
+
7
+ 2. clone 本repo ,gem build , gem install
15
8
 
16
9
 
17
10
  ## Usage
18
11
 
19
- 1. Create an Xcode project
20
- 2. Initialize basic VIPER structure with
21
12
  ```
22
13
  MTViperFiles init
23
14
  ```
24
- 3. Input Required
25
15
 
26
- * your project name
27
- * preferred language
28
- * author
29
- * class prefix
30
- (these will be used in generated files). This input setting is stored in '.MTViperFiles.yml' file.
31
- You can change these settings in `.MTViperFiles.yml`
32
-
33
- 4. Create your module with
34
16
  ```
35
17
  MTViperFiles module create Example
36
18
  ```
37
- You can use saved configuration by just pressing enters.
19
+
20
+ ```
21
+ .MTViperFiles.yml
22
+ ```
@@ -1,3 +1,3 @@
1
1
  module MTViperFiles
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MTViperFiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - MTTGCC
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: Creates all the files and setup required for Viper Architecture in iOS.
55
+ description: Creates iOS Viper Architecture Files.
56
56
  email:
57
57
  - xbwudi20092@gmail.com
58
58
  executables:
@@ -65,8 +65,6 @@ files:
65
65
  - ".MTViperFiles.yml"
66
66
  - ".gitignore"
67
67
  - Gemfile
68
- - LICENSE
69
- - License.txt
70
68
  - MTViperFiles.gemspec
71
69
  - README.md
72
70
  - bin/MTViperFiles
@@ -96,7 +94,7 @@ files:
96
94
  - lib/MTViperFiles/templates/objc/RootWireframe.h
97
95
  - lib/MTViperFiles/templates/objc/RootWireframe.m
98
96
  - lib/MTViperFiles/version.rb
99
- homepage: https://github.com/lyle92
97
+ homepage: https://github.com/lyleLH
100
98
  licenses:
101
99
  - MIT
102
100
  metadata: {}
@@ -118,5 +116,5 @@ requirements: []
118
116
  rubygems_version: 3.2.16
119
117
  signing_key:
120
118
  specification_version: 4
121
- summary: Generates Objective C files for Viper Module Initialization.
119
+ summary: Generates Viper Module Files.
122
120
  test_files: []
data/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2017 Nilesh Agrawal
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
data/License.txt DELETED
@@ -1,22 +0,0 @@
1
- copyright (c) 2014 Nilesh Agrawal
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.