rapp 0.2.3 → 0.2.4
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 +4 -4
- data/README.md +7 -13
- data/lib/rapp/templates/lib/tasks/environment.rake.erb +3 -0
- data/lib/rapp/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 627ad31c629fb215e715cfc99c0344b0223896cc
|
4
|
+
data.tar.gz: bb9d57eab4d1724cc22410725a26e2db066c805e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0475d0a3c6b1ecb3fc3d63ad4ff2c340444ed9a8f0c065f398787332a824a1b1eb31240fff4a31d2788f63d06572a06a1abb5ec6a96e01c46724c54767ab38fd
|
7
|
+
data.tar.gz: 096c03ba4cdd7359e14e3b4ac25a1dae45f1e9ac1542142db00a73edd1d6998058b852a0420c0938938d5797b85ede1453043181149de13a70eb060f334861ca
|
data/README.md
CHANGED
@@ -8,20 +8,11 @@ Prior to this incarnation, there was an older, similar gem named Rapp which was
|
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
gem 'rapp'
|
15
|
-
```
|
16
|
-
|
17
|
-
And then execute:
|
18
|
-
|
19
|
-
$ bundle
|
20
|
-
|
21
|
-
Or install it yourself as:
|
11
|
+
Rapp is meant to run as a command line tool, not as a dependency. You should install it via the command line:
|
22
12
|
|
13
|
+
```shell
|
23
14
|
$ gem install rapp
|
24
|
-
|
15
|
+
```
|
25
16
|
## Usage
|
26
17
|
|
27
18
|
Using Rapp is incredibly simple. It's designed to work like familiar scaffolders / builders in the ruby community (think `rails new`).
|
@@ -115,7 +106,10 @@ Used for the same purpose as a Rails app or Ruby gem. Any code that falls outsid
|
|
115
106
|
|
116
107
|
### Rake
|
117
108
|
|
118
|
-
Currently, Rapp comes with
|
109
|
+
Currently, Rapp comes with 2 predefined rake tasks:
|
110
|
+
|
111
|
+
* console - This will boot up irb while loading your {app_name}.rb, which will load the rest of your app. This is aliased to "c" for convenience.
|
112
|
+
* environment - This will load up the {app_name}.rb, which will load the rest of your app, for use in chaining custom rake tasks that will rely on your application code
|
119
113
|
|
120
114
|
### Specs (Optional)
|
121
115
|
|
data/lib/rapp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StabbyCutyou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -79,6 +79,7 @@ files:
|
|
79
79
|
- lib/rapp/templates/config/environments/test.rb.erb
|
80
80
|
- lib/rapp/templates/env.rb.erb
|
81
81
|
- lib/rapp/templates/lib/tasks/console.rake.erb
|
82
|
+
- lib/rapp/templates/lib/tasks/environment.rake.erb
|
82
83
|
- lib/rapp/templates/spec/app_name_base/env_spec.rb.erb
|
83
84
|
- lib/rapp/templates/spec/app_name_base_spec.rb.erb
|
84
85
|
- lib/rapp/templates/spec/spec_helper.rb.erb
|