simple-hasher 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- class SimpleHasher
1
+ require File.dirname(__FILE__) + '/simplehasher/railtie' if defined?(Rails)
2
2
 
3
- require File.dirname(__FILE__) + 'simplehasher/railtie' if defined?(Rails)
3
+ module SimpleHasher
4
4
 
5
5
  def self.encode(id)
6
6
  length = self.config.allowed_chars.length
@@ -1,3 +1,3 @@
1
- class SimpleHasher
2
- VERSION = "0.0.6"
1
+ module SimpleHasher
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-hasher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: