rails-param_cryptable 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +160 -0
- data/README.md +7 -0
- data/lib/param_cryptable/version.rb +1 -1
- data/lib/rails-param_cryptable.rb +1 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53c9c0c942ec29904c6fd823a630487867057616ce85e28fcb4c15d375f1cab6
|
4
|
+
data.tar.gz: ecfdb4fa82010971a736a4e04a7491d647b0c23e8523f4047561c9cb1147df42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16a42fc03190f2f2e4bf86aa061a1e217099c1b0831ecd61c8897345370242e1145c112bbee3bfb179028f75096060fe45ac435c4321d2cce9d9a44463e9ffa9
|
7
|
+
data.tar.gz: 68e992ce70b0f5e91323fe8f9ecd65c9358a80e5f5c203ed48f5a39fcc05383958364cc8449a0edb1674b5a977c0f8279a65f8ec57860e524fb0e28bc29ad237
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,160 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rails-param_cryptable (0.1.1)
|
5
|
+
rails (>= 5.2.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actioncable (6.1.1)
|
11
|
+
actionpack (= 6.1.1)
|
12
|
+
activesupport (= 6.1.1)
|
13
|
+
nio4r (~> 2.0)
|
14
|
+
websocket-driver (>= 0.6.1)
|
15
|
+
actionmailbox (6.1.1)
|
16
|
+
actionpack (= 6.1.1)
|
17
|
+
activejob (= 6.1.1)
|
18
|
+
activerecord (= 6.1.1)
|
19
|
+
activestorage (= 6.1.1)
|
20
|
+
activesupport (= 6.1.1)
|
21
|
+
mail (>= 2.7.1)
|
22
|
+
actionmailer (6.1.1)
|
23
|
+
actionpack (= 6.1.1)
|
24
|
+
actionview (= 6.1.1)
|
25
|
+
activejob (= 6.1.1)
|
26
|
+
activesupport (= 6.1.1)
|
27
|
+
mail (~> 2.5, >= 2.5.4)
|
28
|
+
rails-dom-testing (~> 2.0)
|
29
|
+
actionpack (6.1.1)
|
30
|
+
actionview (= 6.1.1)
|
31
|
+
activesupport (= 6.1.1)
|
32
|
+
rack (~> 2.0, >= 2.0.9)
|
33
|
+
rack-test (>= 0.6.3)
|
34
|
+
rails-dom-testing (~> 2.0)
|
35
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
+
actiontext (6.1.1)
|
37
|
+
actionpack (= 6.1.1)
|
38
|
+
activerecord (= 6.1.1)
|
39
|
+
activestorage (= 6.1.1)
|
40
|
+
activesupport (= 6.1.1)
|
41
|
+
nokogiri (>= 1.8.5)
|
42
|
+
actionview (6.1.1)
|
43
|
+
activesupport (= 6.1.1)
|
44
|
+
builder (~> 3.1)
|
45
|
+
erubi (~> 1.4)
|
46
|
+
rails-dom-testing (~> 2.0)
|
47
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
+
activejob (6.1.1)
|
49
|
+
activesupport (= 6.1.1)
|
50
|
+
globalid (>= 0.3.6)
|
51
|
+
activemodel (6.1.1)
|
52
|
+
activesupport (= 6.1.1)
|
53
|
+
activerecord (6.1.1)
|
54
|
+
activemodel (= 6.1.1)
|
55
|
+
activesupport (= 6.1.1)
|
56
|
+
activestorage (6.1.1)
|
57
|
+
actionpack (= 6.1.1)
|
58
|
+
activejob (= 6.1.1)
|
59
|
+
activerecord (= 6.1.1)
|
60
|
+
activesupport (= 6.1.1)
|
61
|
+
marcel (~> 0.3.1)
|
62
|
+
mimemagic (~> 0.3.2)
|
63
|
+
activesupport (6.1.1)
|
64
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
65
|
+
i18n (>= 1.6, < 2)
|
66
|
+
minitest (>= 5.1)
|
67
|
+
tzinfo (~> 2.0)
|
68
|
+
zeitwerk (~> 2.3)
|
69
|
+
builder (3.2.4)
|
70
|
+
concurrent-ruby (1.1.7)
|
71
|
+
crass (1.0.6)
|
72
|
+
diff-lcs (1.4.4)
|
73
|
+
erubi (1.10.0)
|
74
|
+
globalid (0.4.2)
|
75
|
+
activesupport (>= 4.2.0)
|
76
|
+
i18n (1.8.7)
|
77
|
+
concurrent-ruby (~> 1.0)
|
78
|
+
loofah (2.8.0)
|
79
|
+
crass (~> 1.0.2)
|
80
|
+
nokogiri (>= 1.5.9)
|
81
|
+
mail (2.7.1)
|
82
|
+
mini_mime (>= 0.1.1)
|
83
|
+
marcel (0.3.3)
|
84
|
+
mimemagic (~> 0.3.2)
|
85
|
+
method_source (1.0.0)
|
86
|
+
mimemagic (0.3.5)
|
87
|
+
mini_mime (1.0.2)
|
88
|
+
minitest (5.14.3)
|
89
|
+
nio4r (2.5.4)
|
90
|
+
nokogiri (1.11.1-x86_64-darwin)
|
91
|
+
racc (~> 1.4)
|
92
|
+
racc (1.5.2)
|
93
|
+
rack (2.2.3)
|
94
|
+
rack-test (1.1.0)
|
95
|
+
rack (>= 1.0, < 3)
|
96
|
+
rails (6.1.1)
|
97
|
+
actioncable (= 6.1.1)
|
98
|
+
actionmailbox (= 6.1.1)
|
99
|
+
actionmailer (= 6.1.1)
|
100
|
+
actionpack (= 6.1.1)
|
101
|
+
actiontext (= 6.1.1)
|
102
|
+
actionview (= 6.1.1)
|
103
|
+
activejob (= 6.1.1)
|
104
|
+
activemodel (= 6.1.1)
|
105
|
+
activerecord (= 6.1.1)
|
106
|
+
activestorage (= 6.1.1)
|
107
|
+
activesupport (= 6.1.1)
|
108
|
+
bundler (>= 1.15.0)
|
109
|
+
railties (= 6.1.1)
|
110
|
+
sprockets-rails (>= 2.0.0)
|
111
|
+
rails-dom-testing (2.0.3)
|
112
|
+
activesupport (>= 4.2.0)
|
113
|
+
nokogiri (>= 1.6)
|
114
|
+
rails-html-sanitizer (1.3.0)
|
115
|
+
loofah (~> 2.3)
|
116
|
+
railties (6.1.1)
|
117
|
+
actionpack (= 6.1.1)
|
118
|
+
activesupport (= 6.1.1)
|
119
|
+
method_source
|
120
|
+
rake (>= 0.8.7)
|
121
|
+
thor (~> 1.0)
|
122
|
+
rake (12.3.3)
|
123
|
+
rspec (3.10.0)
|
124
|
+
rspec-core (~> 3.10.0)
|
125
|
+
rspec-expectations (~> 3.10.0)
|
126
|
+
rspec-mocks (~> 3.10.0)
|
127
|
+
rspec-core (3.10.1)
|
128
|
+
rspec-support (~> 3.10.0)
|
129
|
+
rspec-expectations (3.10.1)
|
130
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
131
|
+
rspec-support (~> 3.10.0)
|
132
|
+
rspec-mocks (3.10.1)
|
133
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
134
|
+
rspec-support (~> 3.10.0)
|
135
|
+
rspec-support (3.10.1)
|
136
|
+
sprockets (4.0.2)
|
137
|
+
concurrent-ruby (~> 1.0)
|
138
|
+
rack (> 1, < 3)
|
139
|
+
sprockets-rails (3.2.2)
|
140
|
+
actionpack (>= 4.0)
|
141
|
+
activesupport (>= 4.0)
|
142
|
+
sprockets (>= 3.0.0)
|
143
|
+
thor (1.0.1)
|
144
|
+
tzinfo (2.0.4)
|
145
|
+
concurrent-ruby (~> 1.0)
|
146
|
+
websocket-driver (0.7.3)
|
147
|
+
websocket-extensions (>= 0.1.0)
|
148
|
+
websocket-extensions (0.1.5)
|
149
|
+
zeitwerk (2.4.2)
|
150
|
+
|
151
|
+
PLATFORMS
|
152
|
+
ruby
|
153
|
+
|
154
|
+
DEPENDENCIES
|
155
|
+
rails-param_cryptable!
|
156
|
+
rake (~> 12.0)
|
157
|
+
rspec (~> 3.0)
|
158
|
+
|
159
|
+
BUNDLED WITH
|
160
|
+
2.1.4
|
data/README.md
CHANGED
@@ -52,6 +52,13 @@ module OrdersHelper
|
|
52
52
|
end
|
53
53
|
```
|
54
54
|
|
55
|
+
## Possible future features
|
56
|
+
|
57
|
+
- SPECS!!!
|
58
|
+
- Salting / padding, to decrease the chance of "guessability"
|
59
|
+
- Initializion script that adds a key to the credentials
|
60
|
+
- Integration with ActiveRecord and/or URL helpers so you don't have to call `encrypt`
|
61
|
+
|
55
62
|
## Development
|
56
63
|
|
57
64
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'param_cryptable'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-param_cryptable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pelle ten Cate
|
@@ -38,6 +38,7 @@ files:
|
|
38
38
|
- CHANGELOG.md
|
39
39
|
- CODE_OF_CONDUCT.md
|
40
40
|
- Gemfile
|
41
|
+
- Gemfile.lock
|
41
42
|
- LICENSE.txt
|
42
43
|
- README.md
|
43
44
|
- Rakefile
|
@@ -45,6 +46,7 @@ files:
|
|
45
46
|
- bin/setup
|
46
47
|
- lib/param_cryptable.rb
|
47
48
|
- lib/param_cryptable/version.rb
|
49
|
+
- lib/rails-param_cryptable.rb
|
48
50
|
- rails-param_cryptable.gemspec
|
49
51
|
homepage: https://github.com/pelletencate/rails-param_cryptable
|
50
52
|
licenses:
|