url_security 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.
data/README.md CHANGED
@@ -21,21 +21,27 @@ Or install it yourself as:
21
21
  $ gem install url_security
22
22
 
23
23
  ## Usage
24
- Write the follwing line your models file
25
- include UrlSecurity
24
+
25
+ Write the following line in your models file
26
+ ```ruby
27
+ include UrlSecurity
28
+ ```
29
+
26
30
 
27
31
  Write the following method in same model
28
-
32
+ ```ruby
29
33
  def to_param
30
34
  encrypt id
31
35
  end
32
-
36
+ ```
33
37
  Write the following line in your controller :
38
+ ```ruby
34
39
  @student = Student.find Student.decrypt(params[:id])
35
-
40
+ ```
36
41
  instead of :
42
+ ```ruby
37
43
  @student = Student.find(params[:id])
38
-
44
+ ```
39
45
  ## Contributing
40
46
 
41
47
  1. Fork it ( https://github.com/[my-github-username]/url_security/fork )
@@ -1,3 +1,3 @@
1
1
  module UrlSecurity
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/url_security.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "url_security"
8
8
  spec.version = UrlSecurity::VERSION
9
9
  spec.date = "2015-04-25"
10
- spec.authors = ["Axenic Technologies","Ravikiran Kadam"]
10
+ spec.authors = ["Ravikiran Kadam","Axenic Technologies"]
11
11
  spec.email = ["connect@axenictech.com"]
12
12
  spec.summary = %q{url_security gem encrypt the url for security}
13
13
  spec.description = %q{This gem encrypt the url id and provide better security from accessing web pages.}
metadata CHANGED
@@ -1,11 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: url_security
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
- - Axenic Technologies
8
8
  - Ravikiran Kadam
9
+ - Axenic Technologies
9
10
  autorequire:
10
11
  bindir: exe
11
12
  cert_chain: []
@@ -14,29 +15,33 @@ dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: bundler
16
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
17
19
  requirements:
18
- - - "~>"
20
+ - - ~>
19
21
  - !ruby/object:Gem::Version
20
22
  version: '1.8'
21
23
  type: :development
22
24
  prerelease: false
23
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
24
27
  requirements:
25
- - - "~>"
28
+ - - ~>
26
29
  - !ruby/object:Gem::Version
27
30
  version: '1.8'
28
31
  - !ruby/object:Gem::Dependency
29
32
  name: rake
30
33
  requirement: !ruby/object:Gem::Requirement
34
+ none: false
31
35
  requirements:
32
- - - "~>"
36
+ - - ~>
33
37
  - !ruby/object:Gem::Version
34
38
  version: '10.0'
35
39
  type: :development
36
40
  prerelease: false
37
41
  version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
38
43
  requirements:
39
- - - "~>"
44
+ - - ~>
40
45
  - !ruby/object:Gem::Version
41
46
  version: '10.0'
42
47
  description: This gem encrypt the url id and provide better security from accessing
@@ -47,7 +52,7 @@ executables: []
47
52
  extensions: []
48
53
  extra_rdoc_files: []
49
54
  files:
50
- - ".gitignore"
55
+ - .gitignore
51
56
  - CODE_OF_CONDUCT.md
52
57
  - Gemfile
53
58
  - LICENSE.txt
@@ -61,25 +66,27 @@ files:
61
66
  homepage:
62
67
  licenses:
63
68
  - MIT
64
- metadata: {}
65
69
  post_install_message:
66
70
  rdoc_options: []
67
71
  require_paths:
68
72
  - lib
69
73
  required_ruby_version: !ruby/object:Gem::Requirement
74
+ none: false
70
75
  requirements:
71
- - - ">="
76
+ - - ! '>='
72
77
  - !ruby/object:Gem::Version
73
78
  version: '0'
74
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
+ none: false
75
81
  requirements:
76
- - - ">="
82
+ - - ! '>='
77
83
  - !ruby/object:Gem::Version
78
84
  version: '0'
79
85
  requirements: []
80
86
  rubyforge_project:
81
- rubygems_version: 2.4.3
87
+ rubygems_version: 1.8.23
82
88
  signing_key:
83
- specification_version: 4
89
+ specification_version: 3
84
90
  summary: url_security gem encrypt the url for security
85
91
  test_files: []
92
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: bcc2b1b05a92dadf302d4e252195028c69385699
4
- data.tar.gz: 0ecdfc7fa0d8777e877f9effa5a9d3237b1c6ed0
5
- SHA512:
6
- metadata.gz: e7dadc3edee77f0c4a6d825ffc2a43890587cf081b23aba44f7064036b7177c83a5e66094597f9b3b692ae66c50c3b74b22bf1ac91c3e819f966e5e34d0b8335
7
- data.tar.gz: e1000b60028ddc754c37e9905d8530f476c2a080edbb004f13fc54f3cba802725255763d0cf5dcc44db2615a5f3d1cb96e49532290b480c78c4c0ca1efe8cc94