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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f346fff28c656c77ee2e7fa69873dd6e6cb03bc4
4
- data.tar.gz: be07f6e6f4cd90d7164b543438ae55d908c4b51c
3
+ metadata.gz: a7f7634fbfb7036178b5e4da6ce6b3072403b0d6
4
+ data.tar.gz: 5b1794dc341d97da15bd232c11046e04a52eda39
5
5
  SHA512:
6
- metadata.gz: 129037ce47bde14d297ae1ad4f46dc03434b6972ef7231debfca277ed1f19f114c69ebf435de38bcd9ec910f127e1fcab9b3942ea2ffdddd586fc64418963f98
7
- data.tar.gz: 8bf009697dc772700aeb5da1dc2170c0014e0ff0c26566a2668dd3bd80457c857661dc0afebcad0d7726c1b0e4814ccff1faa0af019cc31e53c8f4f6e88de033
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
@@ -1,3 +1,3 @@
1
1
  module Deflectable
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
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.1
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.rdoc
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
@@ -1,3 +0,0 @@
1
- = Deflectable
2
-
3
- This project rocks and uses MIT-LICENSE.