sharp_admin 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8c1fe26660549a9135ed9c14f5b49cf510d58d4
4
- data.tar.gz: 26da2eb5145abf05a03d717b02c1e49ebbb0472b
3
+ metadata.gz: 185f6c456428c9e2503a8ff72059a8c30aeb0a2d
4
+ data.tar.gz: 87f81a9402331cdafb718b5ef7d961eb6ed2875a
5
5
  SHA512:
6
- metadata.gz: f6350acd2e70401b9306e016a2ff5a365256066b20dc688e81cd67958744ad6d2aae9e957e7a6e9f97ed2d3be95f0e025c6cf9b6aa38a1bc9ee0d4b449713c5c
7
- data.tar.gz: 68979197794bbc906b11766696593ce3e14e360bd045cc362228d44ed3a1d6234ece7397eeaf39fa29cde51dae08440292cb4bdc4162d55fc8f327063a56395e
6
+ metadata.gz: 7a05c87def49b70dfbd0cd72b75ac8edacc5eedb2beb633d4ccd698e92f6e01657dd3c3a6f3cd80e535c0569a9fbb9b91f6a690e71a252606c5720733722173e
7
+ data.tar.gz: 346ecd1be305fbd737de4ac65c48fdc75441ef6ec7a11f1572a6cdf6280f424682ccb4c6b194139e4830beee1fe2dc7fdd072393d7fdeee4bf84f33e718244f0
@@ -50,7 +50,7 @@ class SharpAdminGenerator < Rails::Generators::NamedBase
50
50
 
51
51
  def add_resource_route
52
52
  return if not File.exists?("config/routes.rb")
53
- route_config = "namespace #{options[:ns].to_sym} do "
53
+ route_config = "namespace :#{options[:ns]} do "
54
54
  route_config << "resources :#{file_name.pluralize}"
55
55
  route_config << " end"
56
56
  route route_config
@@ -3,7 +3,7 @@
3
3
 
4
4
  <% if options[:search_by].present? -%>
5
5
  = search_form_for @q, :url => <%= options[:ns] %>_<%= plural_table_name %>_path, :html => { :method => :get, :class => "well form-inline" } do |f|
6
- .class="form-group
6
+ .class.form-group
7
7
  = f.text_field :<%= options[:search_by] %>_cont, :type => "search", :class => "form-control", :placeholder => "Search by <%= options[:search_by] %>"
8
8
 
9
9
  = f.submit "Search", :class => "btn btn-default"
@@ -1,3 +1,3 @@
1
1
  module EasyAdmin
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sharp_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - sharp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-03 00:00:00.000000000 Z
11
+ date: 2015-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -74,7 +74,6 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - MIT-LICENSE
77
- - README.rdoc
78
77
  - Rakefile
79
78
  - lib/sharp_admin.rb
80
79
  - lib/sharp_admin/sharp_admin_generator.rb
data/README.rdoc DELETED
@@ -1,3 +0,0 @@
1
- = EasyAdmin
2
-
3
- This project rocks and uses MIT-LICENSE.