lucie-bin 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/new_controller.rb +4 -0
- data/app/templates/new/Gemfile.tt +1 -2
- data/app/templates/new/Rakefile.tt +8 -0
- data/app/templates/new/app/boot.rb.tt +11 -0
- data/app/templates/new/bin/bin.tt +4 -13
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ce9f298d9afe758014f16346b2d83edffe68109
|
4
|
+
data.tar.gz: 8b25a86f5dbfe24000f8c153f099c3aea391eb95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 484b1d2f864e613612111d680287eba9b8575a6f52f11dea79b38fc80d985245ca8b6a20759eaadeb918b0c8dd97d5f84d9413d44b468f4e16990d4a121d7324
|
7
|
+
data.tar.gz: 4d4a9eff91101accb048da918866b83e605cf0b42e33ffe72f5301a5ebb11af795e0532602a2f35e71ee67cfdbf082ffb1aa239852819f2573f22e29be978bb2
|
@@ -8,9 +8,13 @@ class NewController < Controller::Base
|
|
8
8
|
|
9
9
|
template("new/bin/bin.tt", "#{@project_name}/bin/#{@project_name}")
|
10
10
|
template("new/app/application_controller.rb.tt", "#{@project_name}/app/controllers/application_controller.rb")
|
11
|
+
template("new/app/boot.rb.tt", "#{@project_name}/app/boot.rb")
|
11
12
|
template("new/Gemfile.tt", "#{@project_name}/Gemfile")
|
13
|
+
template("new/Rakefile.tt", "#{@project_name}/Rakefile")
|
12
14
|
|
13
15
|
File.chmod(0755, "#{app.pwd}/#{@project_name}/bin/#{@project_name}")
|
16
|
+
|
17
|
+
system "cd #{app.pwd}/#{@project_name} && rake setup"
|
14
18
|
end
|
15
19
|
|
16
20
|
def no_method
|
@@ -1,14 +1,5 @@
|
|
1
|
-
#!/
|
1
|
+
#!/bin/bash
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
$stdout.sync = true
|
7
|
-
$stderr.sync = true
|
8
|
-
|
9
|
-
require "rubygems"
|
10
|
-
require "bundler"
|
11
|
-
require "lucie"
|
12
|
-
Bundler.require(:default)
|
13
|
-
|
14
|
-
App.run()
|
3
|
+
CURRENT_FILE="$( dirname "${BASH_SOURCE[0]}" )"
|
4
|
+
VERSION="$( cat "$CURRENT_FILE/../.ruby-version" )"
|
5
|
+
cd "$CURRENT_FILE/../" && rvm $VERSION do bundle exec ruby app/boot.rb
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lucie-bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nucc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lucie-lib
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.
|
19
|
+
version: 0.0.10
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.0.
|
26
|
+
version: 0.0.10
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,7 +78,9 @@ files:
|
|
78
78
|
- Rakefile
|
79
79
|
- app/controllers/new_controller.rb
|
80
80
|
- app/templates/new/Gemfile.tt
|
81
|
+
- app/templates/new/Rakefile.tt
|
81
82
|
- app/templates/new/app/application_controller.rb.tt
|
83
|
+
- app/templates/new/app/boot.rb.tt
|
82
84
|
- app/templates/new/bin/bin.tt
|
83
85
|
- bin/lucie
|
84
86
|
- lucie-bin.gemspec
|