wall 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 +4 -4
- data/README.md +8 -2
- data/lib/wall.rb +1 -0
- data/lib/wall/middleware.rb +11 -0
- data/lib/wall/version.rb +1 -1
- data/wall.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c10a56e33d102065c973802482645bc9cae1a3a
|
4
|
+
data.tar.gz: 6a214836d76c4554ee01917b8dacc69fd29d2a81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 876a344f92cb1ca2c0a8fe7efd7ccf3cf06a0cabcbf2872e0ce8a67a3ebbd00c2e751862146df4da54b51f1122ca55ed1f3e192a44bf32a6829e78a19c1142be
|
7
|
+
data.tar.gz: c006e68d94c84a58cd1115dfa27ddcf17efffd6ade080bb2ec4900fed2d1f6802c39b9861e82036a2d5b39b0960969cd4c4d058e32c06b7431ffac5da36d645a
|
data/README.md
CHANGED
@@ -22,7 +22,13 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
in rails:
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
Rails::Initializer.run do |config|
|
29
|
+
config.middleware.use "Wall::Middlware"
|
30
|
+
end
|
31
|
+
```
|
26
32
|
|
27
33
|
## Development
|
28
34
|
|
@@ -32,7 +38,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
38
|
|
33
39
|
## Contributing
|
34
40
|
|
35
|
-
1. Fork it ( https://
|
41
|
+
1. Fork it ( https://git.world/eadz/wall )
|
36
42
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
43
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
44
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/lib/wall.rb
CHANGED
data/lib/wall/version.rb
CHANGED
data/wall.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{Wall is rack middleware that blocks requests}
|
13
13
|
spec.description = %q{Wall is rack middleware that blocks requests}
|
14
|
-
spec.homepage = "https://
|
14
|
+
spec.homepage = "https://git.world/eadz/wall"
|
15
15
|
|
16
16
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
17
17
|
# delete this section to allow pushing this gem to any host.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wall
|
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
|
- Eaden McKee
|
@@ -68,9 +68,10 @@ files:
|
|
68
68
|
- bin/console
|
69
69
|
- bin/setup
|
70
70
|
- lib/wall.rb
|
71
|
+
- lib/wall/middleware.rb
|
71
72
|
- lib/wall/version.rb
|
72
73
|
- wall.gemspec
|
73
|
-
homepage: https://
|
74
|
+
homepage: https://git.world/eadz/wall
|
74
75
|
licenses: []
|
75
76
|
metadata: {}
|
76
77
|
post_install_message:
|