permalink_for 0.1.0 → 0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e5ca25f2e8325e1cd27c4917e7f24788463976f
4
- data.tar.gz: c2e0473342ecf313182634455271c4aafe0f05b2
3
+ metadata.gz: 8d2c709e80524f6b0a7d77427e277b5ec6eb2bb4
4
+ data.tar.gz: d45973d173f72018ab2fb9783def0018eb75c02a
5
5
  SHA512:
6
- metadata.gz: 3d10c7b9f16906fea1ee8b261c85ece4cf086f8b268d9401f3637455a53d62a8f46587cfcb13fe31f2e24e56e0a16901933edd0b4add280326faf769c3231aa0
7
- data.tar.gz: ee5a412f25771d0e08e1e5b3b87fe70364f9e4c48b832f04e0373e91d069d0cc60509056b367f6c61b61b761b88d24f95f282c2ccb41c8004dedb749904d862b
6
+ metadata.gz: 1ba82a17f1eb05dc5835d88a9b579042363f0282de422b73c81b73dd2254ffb0072b86e7c033ed37bc9625759e8a76afabd45b673c06cb1f3e4764e419f73d3a
7
+ data.tar.gz: ab63d5ef457a761ffa075c749a0b3556521cf10d2ee41df35ecdd2b08c9e3b8b317b438d07ee75ac56512625de8b7d8673d4918f5cf77544614f31592a82e54e
data/.gitignore CHANGED
@@ -11,5 +11,6 @@
11
11
  *.sublime-project
12
12
  *.sublime-workspace
13
13
  *.dump
14
+ *.gem
14
15
 
15
16
  .DS_Store
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in pretty_permalink.gemspec
3
+ # Specify your gem's dependencies in permalink_for.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -26,5 +26,5 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
26
26
 
27
27
  ## Contributing
28
28
 
29
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/permalink_for. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
29
+ Bug reports and pull requests are welcome on GitHub at https://github.com/httplab/permalink_for. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
30
30
 
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'bundler/setup'
4
- require 'pretty_permalink'
4
+ require 'permalink_for'
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -1,5 +1,7 @@
1
+ require 'active_support/concern'
2
+
1
3
  module PermalinkFor::PrettyImpl
2
- extend ActiveSupport::Concern
4
+ extend ::ActiveSupport::Concern
3
5
 
4
6
  def to_param
5
7
  return id if new_record?
@@ -1,3 +1,3 @@
1
1
  module PermalinkFor
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -21,4 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency 'bundler', '~> 1.11'
22
22
  spec.add_development_dependency 'rake', '~> 10.0'
23
23
  spec.add_development_dependency 'rspec', '~> 3.0'
24
+ spec.add_development_dependency 'activesupport', '~> 4.1'
24
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: permalink_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rainrb
@@ -53,6 +53,20 @@ dependencies:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '3.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: activesupport
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '4.1'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '4.1'
56
70
  description: Simple alternative to FriendlyId.
57
71
  email:
58
72
  - dev@httplab.ru