deflectable 0.0.1 → 0.1.0
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 +49 -0
- data/lib/deflectable/version.rb +1 -1
- metadata +2 -2
- data/README.rdoc +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7f7634fbfb7036178b5e4da6ce6b3072403b0d6
|
4
|
+
data.tar.gz: 5b1794dc341d97da15bd232c11046e04a52eda39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82a16effdbde0592d9de5d3ffb49684babdaebe4c7be9245d4d647ea7575b7cf0a66cfd603f37991d6bfbd25a4aa67f37b27296d1eac1a6c0e9591a0618d161d
|
7
|
+
data.tar.gz: 42579f8d9d78a1b7125621af6db6fcddbc73d2809f0fc6b9124c88647f86269975af0cc9172767b5d49576bf099b7eb72775e73e07f7ce6b0aaefabe92e37172
|
data/README.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# deflectable
|
2
|
+
|
3
|
+
RailsアプリにIP制限 (ブランクリスト、ホワイトリスト)を適用
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'deflectable'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install deflectable
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
|
22
|
+
### Configure
|
23
|
+
|
24
|
+
```bash
|
25
|
+
# TODO:
|
26
|
+
# Not Yet implement
|
27
|
+
$ rails generate deflectable:install
|
28
|
+
```
|
29
|
+
|
30
|
+
### Prepare 403.html
|
31
|
+
|
32
|
+
In public/403.html
|
33
|
+
|
34
|
+
### Modified config.ru
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
# config.ru
|
38
|
+
|
39
|
+
usaue Deflectable::Watcher
|
40
|
+
```
|
41
|
+
|
42
|
+
|
43
|
+
## Contributing
|
44
|
+
|
45
|
+
1. Fork it
|
46
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
47
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
48
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
49
|
+
5. Create new Pull Request
|
data/lib/deflectable/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deflectable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naohiro Sakuma
|
@@ -51,7 +51,7 @@ files:
|
|
51
51
|
- lib/tasks/deflectable_tasks.rake
|
52
52
|
- MIT-LICENSE
|
53
53
|
- Rakefile
|
54
|
-
- README.
|
54
|
+
- README.md
|
55
55
|
- test/acceptable_test.rb
|
56
56
|
- test/deflectable_test.rb
|
57
57
|
- test/dummy/app/assets/javascripts/application.js
|
data/README.rdoc
DELETED