newclear 1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -10
- data/lib/newclear.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad0a6cd37b64d60837c5f40e11c925d6d11cd0bf
|
4
|
+
data.tar.gz: af654a3a65aaab5ab64d46c01cad056c514d9a43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c032549c2ead227c88eb6b8b512dc857aca721c4d687041d820a6e2776588919419ffd70bce37a3969bf29c5169e413a61cbeb64d8246638b1f5b2b4164ea195
|
7
|
+
data.tar.gz: 35f391aca042ea7d55ad42928507412e419c9f3c2f79c3ef7846986c2eb08aa0190fa587716005fa235ff32aca14afadf6e97210ccada3da9ae9602795f53e6e
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
![newclear gem logo](http://i.imgur.com/9zP1VGD.png)
|
1
|
+
![newclear gem logo](http://i.imgur.com/9zP1VGD.png)
|
2
2
|
|
3
3
|
**newclear** [![Gem Version](https://badge.fury.io/rb/newclear.svg)](http://badge.fury.io/rb/newclear) - Your one line and relax solution to a ground up rebuild of your iOS or Android RubyMotion app.
|
4
4
|
|
@@ -7,7 +7,7 @@ Sometimes a build gets _FUBAR_. When you run `rake newclear` it builds your pr
|
|
7
7
|
|
8
8
|
## Usage
|
9
9
|
**newclear** comes with 4 helpful rake tasks _but..._
|
10
|
-
**99% of the time you want to run** `rake newclear`.
|
10
|
+
**99% of the time you want to run** `rake newclear`.
|
11
11
|
|
12
12
|
### :crown: `[bundle exec] rake newclear`
|
13
13
|
|
@@ -15,11 +15,19 @@ The most common and useful command. `newclear` gives you a new and clear run of
|
|
15
15
|
|
16
16
|
This runs our `nuke` task and then `rake` (`rake device` for android if you have no emulator running). Ergo, anything run with newclear is like running on a fresh machine.
|
17
17
|
|
18
|
+
### How does it all work?
|
19
|
+
![nuke](http://i.imgur.com/YBP2UEh.gif)
|
20
|
+
|
21
|
+
Just kidding. If you want to trace the logic, here you go!
|
22
|
+
![newclear logic tree](./_art/newclear_flow_chart.png)
|
23
|
+
|
24
|
+
## Ancillary Rake Tasks
|
25
|
+
|
18
26
|
#### `[bundle exec] rake newb`
|
19
27
|
|
20
28
|
Sometimes helpful, `newb` gives you a new build of your app. This is excellent for clearing out data before a test, or making sure your application is built in the correct order.
|
21
29
|
|
22
|
-
This runs our `nuke` task and then `rake build`.
|
30
|
+
This runs our `nuke` task and then `rake build:simulator`.
|
23
31
|
|
24
32
|
#### `[bundle exec] rake nuke`
|
25
33
|
|
@@ -31,12 +39,6 @@ This will start off with a complete `rake clean:all` which removes all compiled
|
|
31
39
|
|
32
40
|
`newclear:debug` gives you the detected parameters of your setup. If you have _any_ complication with newclear, be sure to use this to makes sure newclear is detecing your system setup correctly.
|
33
41
|
|
34
|
-
### How does it all work?
|
35
|
-
![nuke](http://i.imgur.com/YBP2UEh.gif)
|
36
|
-
|
37
|
-
Just kidding. If you want to trace the logic, here you go!
|
38
|
-
![newclear logic tree](./_art/newclear_flow_chart.png)
|
39
|
-
|
40
42
|
## Install
|
41
43
|
|
42
44
|
Add this line to your application's Gemfile:
|
@@ -52,7 +54,7 @@ Or install it yourself as:
|
|
52
54
|
$ gem install newclear
|
53
55
|
|
54
56
|
## Dependency
|
55
|
-
We're using Rickert's lovely `reset-sim` gem in our nuke. So be sure to have accessibility turned on for your terminal, as suggested on [the gem's github page](https://github.com/OTGApps/reset-sim#usage)
|
57
|
+
We're using Rickert's lovely `reset-sim` gem in our nuke (when dealing with iOS). So be sure to have accessibility turned on for your terminal, as suggested on [the gem's github page](https://github.com/OTGApps/reset-sim#usage)
|
56
58
|
|
57
59
|
## Contributing
|
58
60
|
|
data/lib/newclear.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newclear
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gant
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: reset-sim
|