has_permalink 0.1.6 → 0.1.7

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 49708224683cc97bd9a1c8608e4d7dd172f862ec
4
+ data.tar.gz: 98d7688ed1c2b2d717da473635faaac8605bc356
5
+ SHA512:
6
+ metadata.gz: c1c74b56802562081798d2f3f0e0beb4296e56717541fafe2d04bba499c17028173e545fcdd854821d40c5816a04cb8b6b5e0d812ba86acda38efac275d3a589
7
+ data.tar.gz: c92f94873df69962e130bf6745072fa897b1cfaf8f3e6c0b273e14e1dc797929b018f1fda1d632382a320537f670691742c116121984104e4e8249ead189110c
@@ -2,16 +2,14 @@ require 'rails/generators/active_record'
2
2
 
3
3
  class HasPermalinkGenerator < ActiveRecord::Generators::Base
4
4
  desc "Create a migration to add a permalink field to your model."
5
-
5
+
6
6
  def self.source_root
7
7
  @source_root ||= File.expand_path('../templates', __FILE__)
8
8
  end
9
-
9
+
10
10
  def generate_migration
11
11
  migration_template "has_permalink_migration.rb.erb", "db/migrate/#{migration_file_name}"
12
12
  end
13
-
14
- protected
15
13
 
16
14
  def migration_name
17
15
  "add_permalink_to_#{name.underscore}"
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_permalink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
5
- prerelease:
4
+ version: 0.1.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ola Karlsson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-31 00:00:00.000000000 Z
11
+ date: 2015-05-23 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description:
15
14
  email: olkarls@gmail.com
@@ -18,9 +17,9 @@ extensions: []
18
17
  extra_rdoc_files: []
19
18
  files:
20
19
  - lib/friendly_url.rb
20
+ - lib/generators/USAGE
21
21
  - lib/generators/has_permalink_generator.rb
22
22
  - lib/generators/templates/has_permalink_migration.rb.erb
23
- - lib/generators/USAGE
24
23
  - lib/has_permalink.rb
25
24
  - lib/railtie.rb
26
25
  - lib/tasks/has_permalink.rake
@@ -28,26 +27,25 @@ files:
28
27
  - rails/init.rb
29
28
  homepage: http://haspermalink.org
30
29
  licenses: []
30
+ metadata: {}
31
31
  post_install_message:
32
32
  rdoc_options: []
33
33
  require_paths:
34
34
  - lib
35
35
  required_ruby_version: !ruby/object:Gem::Requirement
36
- none: false
37
36
  requirements:
38
- - - ! '>='
37
+ - - '>='
39
38
  - !ruby/object:Gem::Version
40
39
  version: '0'
41
40
  required_rubygems_version: !ruby/object:Gem::Requirement
42
- none: false
43
41
  requirements:
44
- - - ! '>='
42
+ - - '>='
45
43
  - !ruby/object:Gem::Version
46
44
  version: '0'
47
45
  requirements: []
48
46
  rubyforge_project:
49
- rubygems_version: 1.8.25
47
+ rubygems_version: 2.4.6
50
48
  signing_key:
51
- specification_version: 3
49
+ specification_version: 4
52
50
  summary: SEO Permalink Plugin for Ruby on Rails.
53
51
  test_files: []