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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5bd904e61a3025abe32f14c1250c8473efff3127
4
- data.tar.gz: 53181c8dec42473a235b304ac37864d8bc5f5ddb
3
+ metadata.gz: 627ad31c629fb215e715cfc99c0344b0223896cc
4
+ data.tar.gz: bb9d57eab4d1724cc22410725a26e2db066c805e
5
5
  SHA512:
6
- metadata.gz: 4051322416bc5853c94304bf34bdd3932e9546597eb59c19410e86c8d8b8f7dd1e2580f851de1134195e5aa7ab928b6825a5c56b2474785c278668e78e3ab37f
7
- data.tar.gz: ab248896fa572d189784b90f85d7338fa307e6a29507b49d993ca4f7c5dd96bd71fb6fee7f6b479d0dd6c080da64fb78a05e81fabcb97bf69044658d9607c619
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
- Add this line to your application's Gemfile:
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 1 predefined rake task, which is "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.
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
 
@@ -0,0 +1,3 @@
1
+ task :environment do
2
+ require_relative '../../<%=app_name%>.rb'
3
+ end
data/lib/rapp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rapp
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
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.3
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-21 00:00:00.000000000 Z
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