comfy-admin-constructor 1.1.0 → 1.1.1

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.
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .DS_Store
@@ -1,7 +1,7 @@
1
1
  module Comfy
2
2
  module Admin
3
3
  module Constructor
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
6
6
  end
7
7
  end
@@ -38,16 +38,16 @@ class CmsAdminGenerator < Rails::Generators::Base
38
38
  end
39
39
 
40
40
  def create_controller
41
- template 'controller.rb', "app/controllers/#{admin_prefix.underscore}/#{plural_name}_controller.rb"
41
+ template 'controller.rb', "app/controllers/#{admin_prefix}/#{plural_name}_controller.rb"
42
42
  end
43
43
 
44
44
  def create_form
45
- template "views/_form#{template_file_type}", "app/views/#{admin_prefix.underscore}/#{plural_name}/_form#{template_file_type}"
45
+ template "views/_form#{template_file_type}", "app/views/#{admin_prefix}/#{plural_name}/_form#{template_file_type}"
46
46
  end
47
47
 
48
48
  def create_views
49
49
  %w[edit index new].each do |action|
50
- template "views/#{action}#{template_file_type}", "app/views/#{admin_prefix.underscore}/#{plural_name}/#{action}#{template_file_type}"
50
+ template "views/#{action}#{template_file_type}", "app/views/#{admin_prefix}/#{plural_name}/#{action}#{template_file_type}"
51
51
  end
52
52
  end
53
53
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfy-admin-constructor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -19,7 +19,6 @@ executables: []
19
19
  extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
- - .DS_Store
23
22
  - .gitignore
24
23
  - Gemfile
25
24
  - LICENSE
data/.DS_Store DELETED
Binary file