geee 1.0.1 → 1.1.0
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 +14 -0
- data/g-demo.gif +0 -0
- data/lib/geee.rb +2 -2
- data/lib/geee/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: 1220d6d05a3813b3622c73d19ab606979b98076a
|
4
|
+
data.tar.gz: d6b70392bf814a272fbc7e07b231dfc39233f8da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cb42bc754f0c13ea719ba38be7a254e96ae645cdd7c5f2e9130b521d334de11269094d2fa1f1cba6cda36bbefc4cbee9ddc08ad6205ca53da14779098a9a7ca
|
7
|
+
data.tar.gz: 9f3b773cbe067e5663cce99f9201c1a040be491e11211bdc96d3dcb2567c6803eb1228cebd15339f00c9f3793831311b2d2706debd5bfc6d27159ea3e45174b7
|
data/README.md
CHANGED
@@ -2,6 +2,18 @@
|
|
2
2
|
|
3
3
|
Run CLI generator commands without paying attention to where you are or what you are really doing.
|
4
4
|
|
5
|
+
DO U EVER FIND YOURSELF IN THIS UNENVIABLE POSITION?
|
6
|
+
|
7
|
+
```
|
8
|
+
$ ember g model foo
|
9
|
+
version: 0.2.3
|
10
|
+
You have to be inside an ember-cli project in order to use the generate command.
|
11
|
+
```
|
12
|
+
|
13
|
+
HOW EMBARASSING!! g ENDS ALL OF THAT.
|
14
|
+
|
15
|
+

|
16
|
+
|
5
17
|
## Installation
|
6
18
|
|
7
19
|
Because somebody already has a gem named "g", you must:
|
@@ -16,6 +28,8 @@ g accepts any and all arguments and/or options that ember generate or rails gene
|
|
16
28
|
|
17
29
|
## Contributing
|
18
30
|
|
31
|
+
I'm not sure if frameworks besides rails and ember exist, but if they do you are welcome to adapt g to generate for them too.
|
32
|
+
|
19
33
|
1. Fork it ( https://github.com/coleww/geee/fork )
|
20
34
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
21
35
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
data/g-demo.gif
ADDED
Binary file
|
data/lib/geee.rb
CHANGED
@@ -3,9 +3,9 @@ require "geee/version"
|
|
3
3
|
module Geee
|
4
4
|
def self.generate(arg_string)
|
5
5
|
if File.exist?('bin/rails')
|
6
|
-
|
6
|
+
exec "rails generate #{arg_string}"
|
7
7
|
elsif File.exist?('.ember-cli')
|
8
|
-
|
8
|
+
exec "ember generate #{arg_string}"
|
9
9
|
else
|
10
10
|
puts 'you are not currently inside of a monolith'
|
11
11
|
end
|
data/lib/geee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cole Willsea
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,7 @@ files:
|
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
54
|
- bin/g
|
55
|
+
- g-demo.gif
|
55
56
|
- geee.gemspec
|
56
57
|
- lib/geee.rb
|
57
58
|
- lib/geee/version.rb
|