kerosene 0.1.2 → 0.1.21

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/kerosene +28 -0
  3. metadata +6 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d999f9cb45e72d9efe0ccc4e2f6ab75c82485dc62046c31d363edaffde036f2
4
- data.tar.gz: 03f8318627205f51eb1797f863dfe7b40650b1f1766201bfa5ffe8c5c5547071
3
+ metadata.gz: 78a33b6a6b7a3d90c1a37b5c12befcb983f2fa9b82bb464381e837d1e7348238
4
+ data.tar.gz: 663d338970c3ba5ba38372c6e4e36c01cd043e1d1441509dc70736900e94bf1d
5
5
  SHA512:
6
- metadata.gz: 19ce2eaad56eed40917d2251b5237670b73a77b0fd1f7f4f75e355aaaedbdcf5713433fb5f8f5dac74565bc2e9d5ec98bec236c6c7b8bbd201fd00ac34193ff4
7
- data.tar.gz: 82e87ff3ac50bb19a19caf097c11f32594063049b00aa4ce6b64a021fa1341f02919c489d44ed3c8610791f6c198123c3f3dc75d0656ae81eba9c39cd483d1fe
6
+ metadata.gz: b416752fc430fd37e79508196fafa08db67a34ed1e72f6d9aa3544c00fbf58330a1216ac25538661795f83a3db87bca560405b78d9eaeec37effe551e4276c49
7
+ data.tar.gz: b77ee91afe311cf3990a9673ddb2eff41440dab5c04d3d69b552b5046e050948703173e5c04c97cbf9350a992b630bfc4c93287514e3da0c776975902d04f0e2
data/bin/kerosene ADDED
@@ -0,0 +1,28 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'pathname'
4
+
5
+ source_path = (Pathname.new(__FILE__).dirname + '../lib').expand_path
6
+ $LOAD_PATH << source_path
7
+
8
+ require 'kerosene'
9
+
10
+ if ARGV.empty?
11
+ puts "Please provide a path for the new application"
12
+ puts
13
+ puts "See --help for more info"
14
+ exit 0
15
+ elsif ['-h', '--help'].include? ARGV[0]
16
+ puts "Usage: kerosene APP_PATH"
17
+ puts
18
+ exit 0
19
+ elsif ['-v', '--version'].include? ARGV[0]
20
+ puts Kerosene::VERSION
21
+ exit 0
22
+ end
23
+
24
+ templates_root = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__))
25
+ Kerosene::AppGenerator.source_root templates_root
26
+ Kerosene::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root << templates_root
27
+
28
+ Kerosene::AppGenerator.start
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kerosene
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Light the Fuse and Run
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2019-02-03 00:00:00.000000000 Z
12
12
  dependencies:
@@ -57,10 +57,12 @@ description: |2
57
57
  It includes a custom gemfile. Use it to ignite your rails apps.
58
58
  email:
59
59
  - wecan@lightthefusea.run
60
- executables: []
60
+ executables:
61
+ - kerosene
61
62
  extensions: []
62
63
  extra_rdoc_files: []
63
- files: []
64
+ files:
65
+ - bin/kerosene
64
66
  homepage: https://github.com/lightthefuserun/kerosene
65
67
  licenses:
66
68
  - MIT