vipergen-xctestable 0.2.9 → 0.3.0

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
  SHA1:
3
- metadata.gz: 8a71f6a94281f10015bf3348df55987ad188ff13
4
- data.tar.gz: 2036ddb12d9e6b788224d3e615fdb08da9bb84e6
3
+ metadata.gz: 4f686a4c7abf098f61e7065228cdb73fa06aef71
4
+ data.tar.gz: c3f50d48aa02939ec526a3314ad7ebe73a8dde50
5
5
  SHA512:
6
- metadata.gz: 1438cf8e5b1063abd554f3e9b847927601367314a45b443d48e685a14608c219f5bfb3e41ee8cd8c850950ea757822b7307707d6243c75761edae0c134f6ca19
7
- data.tar.gz: 6b75244efed57001fa71839e4f61ea87b7ccbe6f556090361b7ea1393a442b3d3da7f0b88284a4a08bd58e401fe15226289590bb5c6943a0547b483c188c36c3
6
+ metadata.gz: ca25561cb3c2d438fd8b6823d4f8cd07726dc98cd04a7d5dd79c06487eae89029205b59c470dc6cae6d8a1e477d9a24a39f9fd6c45d69f1308c7742ad131ea21
7
+ data.tar.gz: e2d76be52ab03a4ae858b43e726e7ecae3cc33680d56d067c6ba041339ed399a15f8e4b071b3b7d0d9b0d257333d0ef331dc860405050fedbd62f52fbff44213
data/README.md CHANGED
@@ -70,13 +70,13 @@ The implementation scheme returned by this generator is hardly inspired in the e
70
70
  | +-- VIPERDataManager.swift
71
71
  +-- Interactor
72
72
  | +-- VIPERInteractor.swift
73
- | +-- VIPERInteractorSpec.swift
73
+ | +-- VIPERInteractorTests.swift
74
74
  +-- Presenter
75
75
  | +-- VIPERPresenter.swift
76
- | +-- VIPERPresenterSpec.swift
76
+ | +-- VIPERPresenterTests.swift
77
77
  +-- View
78
78
  | +-- VIPERView.swift
79
- | +-- VIPERViewSpec.swift
79
+ | +-- VIPERViewTests.swift
80
80
  +-- WireFrame
81
81
  | +-- VIPERWireFrame.swift
82
82
  +-- Protocols
@@ -85,27 +85,27 @@ The implementation scheme returned by this generator is hardly inspired in the e
85
85
  ## How to install vipergen ?
86
86
  You can install it easily as using the gem. With ruby installed in your OSX execute:
87
87
  ```bash
88
- sudo gem install vipergen-roche
88
+ sudo gem install vipergen-xctestable
89
89
  ```
90
90
  If everything were right, you should have now the vipergem command available in your system console
91
91
 
92
92
  ## How to generate a VIPER module with a given name?
93
93
  You have just to execute the following command
94
94
  ```bash
95
- vipergen generate MyFirstViperModule --path=~/myproject/shared
95
+ vipergen-xctestable generate MyFirstViperModule --path=~/myproject/shared
96
96
  ```
97
97
  And then the files structure will be automatically created. Don't forget to add this folder to your project dragging it into the XCode/Appcode inspector
98
98
 
99
99
  ## What options are available in generator?
100
100
  You have just to execute the following command
101
101
  ```bash
102
- vipergen help generate
102
+ vipergen-xctestable help generate
103
103
  ```
104
104
  And then you will see all options available
105
105
 
106
106
  Sample:
107
107
  ```bash
108
- vipergen generate <Module_Name> --path=<Path> --language=swift --author='michal' --template=testable --swift-module <MY_Project>
108
+ vipergen-xctestable generate <Module_Name> --path=<Path> --language=swift --author='michal' --template=testable --swift-module <MY_Project>
109
109
  ```
110
110
 
111
111
  ## How can I try the demo project?
@@ -122,8 +122,8 @@ vipergen generate <Module_Name> --path=<Path> --language=swift --author='michal'
122
122
  When the gem is updated it has to be reported to the gem repository. I followed this tutorial http://amaras-tech.co.uk/article/43/Creating_executable_gems that basically says that once you have your gem ready execute:
123
123
  ```bash
124
124
  gem build vipergen.gemspec
125
- gem install vipergen-0.1.gem
126
- gem push vipergen-0.1.gem
125
+ gem install vipergen-xctestable-0.3.0.gem
126
+ gem push vipergen-xctestable-0.3.0.gem
127
127
  ```
128
128
  Then you'll be asked for your credentials in order to make the update in the repo (http://guides.rubygems.org/publishing/)
129
129
 
@@ -144,6 +144,7 @@ updated_at: 2014-08-24
144
144
  ### Available Templates
145
145
  - default by pepimbur
146
146
  - testable by wojtysim (includes Spec file templates for Interactor, Presenter and View)
147
+ - xctestable by hhtopcu (Swift 3.0 compliant and XCTest copmliant)
147
148
 
148
149
  ## Resources
149
150
  - Redbooth presentation: https://speakerdeck.com/sergigracia/clean-architecture-viper
@@ -4,6 +4,7 @@
4
4
  //
5
5
 
6
6
  import Foundation
7
+ import UIKit
7
8
 
8
9
  protocol VIPERViewProtocol: class
9
10
  {
@@ -1,4 +1,4 @@
1
1
  module Vipergen
2
2
  NAME = "vipergen"
3
- VERSION = "0.2.9"
3
+ VERSION = "0.3.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vipergen-xctestable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Piñera
@@ -82,8 +82,9 @@ dependencies:
82
82
  - - '>='
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
- description: Based on the objc.io post about VIPER. It saves time in the implementation
86
- generating the controllers and adding interactions between them (in Swift or Objective-C)
85
+ description: Swift 3.0 compliant VIPER architecture based on the objc.io post about
86
+ VIPER. It saves time in the implementation generating the controllers and adding
87
+ interactions between them (in Swift or Objective-C)
87
88
  email: hhtopcu@gmail.com
88
89
  executables:
89
90
  - vipergen