evil_utils 0.0.4 → 0.0.5

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: 8a6e7abdfd8fb887c247daa9cce153515871099f
4
- data.tar.gz: d4002e8ad5afc2e7b6216fa5c4b512a132d521f0
3
+ metadata.gz: bf5ffb92c2766ffef510a5f41af1da6b4800eba2
4
+ data.tar.gz: 8f700fd4e994b8e56285ec955a7257996bb3502e
5
5
  SHA512:
6
- metadata.gz: 76a70e27e47d061b41d1b72e4eb87b84b7c9fbb0626bc07a34a5dda688d940e8302792bcaffdd3bae93416ffca83a9404513310f52fab34407cba0c3460e0192
7
- data.tar.gz: bdc684fafb654c2e30be7636812dba3c29675696eeba877bdba014db03518d5d4a58fe82e3445cc03ca88907f1b67a9636091a4c2666a20b4eb76d34fec319e7
6
+ metadata.gz: c18e3542c6a6fab32bc463eb05af0c79512de1caf95cfbea6281e594d228a395a304cc25a2ebe39752922f4da5366220b939072027f86860f654306bbca9e990
7
+ data.tar.gz: 8ea57957762ffa372e13b39216996309976ad67d93df6604c1d0b35340e7a74d5b602ce7f2a147b9758a913c6ceadf8b149e926d53db9727f0e51a96d29be50b
data/evil_utils.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: evil_utils 0.0.4 ruby lib
5
+ # stub: evil_utils 0.0.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "evil_utils"
9
- s.version = "0.0.4"
9
+ s.version = "0.0.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Zhi-Qiang Lei"]
14
- s.date = "2014-02-01"
14
+ s.date = "2014-02-25"
15
15
  s.description = "Controller generators with responders and shoulda-matchers"
16
16
  s.email = "zhiqiang.lei@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -2,7 +2,7 @@ class EvilUtils
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 4
5
+ PATCH = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
@@ -8,6 +8,7 @@ module EvilUtils
8
8
  check_class_collision suffix: "Controller"
9
9
  class_option :orm, banner: "NAME", type: :string, required: true, desc: "ORM to generate the controller for"
10
10
  argument :attributes, type: :array, default: [], banner: "field:type field:type"
11
+ hook_for :scaffold_controller_spec
11
12
 
12
13
  def create_controller_files
13
14
  template "controller.rb", File.join('app/controllers', controller_class_path, "#{controller_file_name}_controller.rb")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evil_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zhi-Qiang Lei
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-01 00:00:00.000000000 Z
11
+ date: 2014-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails