husky 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/install_generator.rb +19 -0
- data/lib/husky.rb +2 -17
- data/lib/husky/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: 59053d2357aab4304c542e69f8b1281afe1bf5a6
|
4
|
+
data.tar.gz: 1fec56bed78fe51454c3614740acdb837ca0d796
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d1069f33061aa0a473596727fa33b57b9a55707bd321cc152b6ed54a10532d7fb907ad22d0af5d00ab540c426c433dbc1aecbbb6695f028e8cbe701737d485c
|
7
|
+
data.tar.gz: e78a5a93581ea2f4acedf920c03aa0e9ce810229b6a881471ccc4fd44f62636904411865878242b1d449da7fd9fe37360343fb6f62ed98c454328f545b4bbe3d
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
module Husky
|
4
|
+
class InstallGenerator < Rails::Generators::Base
|
5
|
+
|
6
|
+
desc "Sets up directories for Husky workflow."
|
7
|
+
|
8
|
+
def create_new_directories
|
9
|
+
empty_directory "app/responders"
|
10
|
+
empty_directory "app/interactors"
|
11
|
+
empty_directory "app/entities"
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.source_root
|
15
|
+
@source_root ||= File.join(File.dirname(__FILE__), 'templates')
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
data/lib/husky.rb
CHANGED
@@ -1,19 +1,4 @@
|
|
1
|
-
require 'rails/generators'
|
2
|
-
|
3
1
|
module Husky
|
4
|
-
class InstallGenerator < Rails::Generators::Base
|
5
|
-
|
6
|
-
desc "Sets up directories for Husky workflow."
|
7
|
-
|
8
|
-
def create_new_directories
|
9
|
-
empty_directory "app/responders"
|
10
|
-
empty_directory "app/interactors"
|
11
|
-
empty_directory "app/entities"
|
12
|
-
end
|
13
|
-
|
14
|
-
def self.source_root
|
15
|
-
@source_root ||= File.join(File.dirname(__FILE__), 'templates')
|
16
|
-
end
|
17
|
-
|
18
|
-
end
|
19
2
|
end
|
3
|
+
|
4
|
+
require 'generators/install_generator'
|
data/lib/husky/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: husky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Fiser
|
@@ -48,6 +48,7 @@ files:
|
|
48
48
|
- MIT-LICENSE
|
49
49
|
- README.rdoc
|
50
50
|
- Rakefile
|
51
|
+
- lib/generators/install_generator.rb
|
51
52
|
- lib/husky.rb
|
52
53
|
- lib/husky/version.rb
|
53
54
|
- lib/tasks/husky_tasks.rake
|
@@ -113,7 +114,7 @@ rubyforge_project:
|
|
113
114
|
rubygems_version: 2.4.8
|
114
115
|
signing_key:
|
115
116
|
specification_version: 4
|
116
|
-
summary:
|
117
|
+
summary: For when your app starts to get a little big.
|
117
118
|
test_files:
|
118
119
|
- test/dummy/app/assets/javascripts/application.js
|
119
120
|
- test/dummy/app/assets/stylesheets/application.css
|