get_link_list 0.0.6 → 0.0.7

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: 2af9e0d4658f7b05ad37bb095854f9d0ba30c667
4
- data.tar.gz: caf7bdd05385dcca2637acea395f9233e7361088
3
+ metadata.gz: f0a5a8839aeefe27e35682a9a569541583afb060
4
+ data.tar.gz: 876c88ceb4bdfc5c8651953eeb1e65db3ac308c6
5
5
  SHA512:
6
- metadata.gz: 636903de922f47f3225af197c905ca41ba2d328a17c5c24cf0517ac5ddd35a6993cd8080027994bdc51d47f06c6353cb1813964fbe7d5840538c53ceb24ab825
7
- data.tar.gz: ad848ea408cccfefe8171d2280388f6a6444b49b045ed185ad09734f467521e78f26f78099129a888b8a31e03d8f9b65e633e16f42a45078d8f40d70286a294c
6
+ metadata.gz: 4fd4146d1248358c21bb226e5ba3b3ac13cce7c2beb1142275594a4be4152e865b0e95e2a2acbc126ea22a8dd52c9af1bc1fbc7c9db9981c71fbbb86f30ab2d3
7
+ data.tar.gz: 3c44108146939f7e9041fcdbc0d88c6ca6150c328b2596e178f93640c4351423ea574172e459e2f1c49ded3cba4c17ac5823756b1919cb98099d4cc9f935547f
data/README.md CHANGED
@@ -1,3 +1,82 @@
1
- = GetLinkList
1
+ # GetLinkList
2
2
 
3
- This project rocks and uses MIT-LICENSE.
3
+
4
+
5
+ ## Information
6
+ getlinklist will be able to easily display a linked list of routing only of GET on view.
7
+
8
+ You can hide in unnecessary get url.
9
+
10
+
11
+
12
+ ## Getting start
13
+ Add to this in Gemfile
14
+
15
+ ```ruby
16
+ gem ‘get_link_list’
17
+ ```
18
+
19
+ Run bundle install command
20
+
21
+ ```bash
22
+ bundle install
23
+ ```
24
+
25
+ open app/assets/javascripts/application.js
26
+ write this
27
+ ```javascript
28
+ //= require get_link_list
29
+ ```
30
+
31
+ open app/assets/stylesheets/application.css
32
+ write this
33
+
34
+ ```
35
+ *= require get_link_list
36
+ ```
37
+ open app/views/layouts/application.html.erb
38
+ add helper in top of body tag
39
+
40
+ ```
41
+ <%= render_get_links if !Rails.env.production? %>
42
+ ```
43
+
44
+ ## setting for ignore
45
+
46
+ All GET link does not need to be displayed in the view.
47
+ For example, mailer links are GET, but there is no need to display.
48
+
49
+ You can set the controllers and actions that do not appear in the list.
50
+
51
+ create config file
52
+
53
+ ```bash
54
+ bundle exec rails g get_link_list:config
55
+ ```
56
+ ### ignore controller
57
+ Open config/initializers/get_link_list.rb
58
+
59
+ ```ruby
60
+ config.ignore_controller = ["controller_name1" : "", "controller_name2" : ""]
61
+ ```
62
+ ### ignore controller action
63
+
64
+ ```ruby
65
+ config.ignore_controller = ["controller_name1" : ["action_name1","action_name2"]]
66
+ ```
67
+
68
+ ## Expand assets
69
+
70
+ If you want to customize js and css.
71
+ GetLinkList Gem expands assets in your rails application.
72
+
73
+ Run this
74
+ ```bash
75
+ bundle exec rails g get_link_list:assets
76
+ ```
77
+ and then
78
+
79
+ ```
80
+ create app/assets/javascripts/get_link_list/index.js.coffee
81
+ create app/assets/stylesheets/get_link_list/index.css.scss
82
+ ```
@@ -5,14 +5,6 @@
5
5
  margin: 0;
6
6
  text-decoration: none;
7
7
  list-style-type: none;
8
- :after{
9
- content: ".";
10
- display: block;
11
- height: 0;
12
- font-size:0;
13
- clear: both;
14
- visibility:hidden;
15
- }
16
8
  ul{
17
9
  padding: 0;
18
10
  margin: 0;
@@ -58,4 +50,12 @@
58
50
  visibility: hidden;
59
51
  }
60
52
  }
61
- }
53
+ }
54
+ #get_link_list:after{
55
+ content: ".";
56
+ display: block;
57
+ height: 0;
58
+ font-size:0;
59
+ clear: both;
60
+ visibility:hidden;
61
+ }
@@ -5,14 +5,6 @@
5
5
  margin: 0;
6
6
  text-decoration: none;
7
7
  list-style-type: none;
8
- :after{
9
- content: ".";
10
- display: block;
11
- height: 0;
12
- font-size:0;
13
- clear: both;
14
- visibility:hidden;
15
- }
16
8
  ul{
17
9
  padding: 0;
18
10
  margin: 0;
@@ -58,4 +50,12 @@
58
50
  visibility: hidden;
59
51
  }
60
52
  }
61
- }
53
+ }
54
+ #get_link_list:after{
55
+ content: ".";
56
+ display: block;
57
+ height: 0;
58
+ font-size:0;
59
+ clear: both;
60
+ visibility:hidden;
61
+ }
@@ -1,3 +1,3 @@
1
1
  module GetLinkList
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: get_link_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - candle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-18 00:00:00.000000000 Z
11
+ date: 2015-10-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: It showed your rails project GET path
14
14
  email: