rails_development_tools 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59ad8ab0bbe78f96981655c50fc17e780b3c2a84bd39e856ce348d3a838eca5e
4
- data.tar.gz: f50b33e40839bbeaebbd2495a57bf9434304726979c6ae9953caedffece92a5b
3
+ metadata.gz: b55924b9f164f6017c4b003d29af21fba72eb7e504460b5a6e58ae5caf28aa06
4
+ data.tar.gz: d3b7f7c0079578910352744701afe10a4c853f372da79a1ae8034088bf8b1477
5
5
  SHA512:
6
- metadata.gz: fa4fd6ed8be3881ccf0581266f0dd18f2c0837403e42da0512d3feac4b855ce7343304eb7975d19da8c603e2a23d7b04e039c3857ce8fc42baf9e4cf2d024f41
7
- data.tar.gz: 828063730f36593f802a9bf73f4234b2f295926f115e45a4d1354e280d8d879f6b645e627928915e5e6a187083cec8ab4953c09462246843917bc8d28ce20e32
6
+ metadata.gz: f40576b39c0888dd57b6cf50e7a595b63e88d880bee0765eeec8ca7bab90213c0b4f3dd36e18e2c84343698c8999ccf4a419db0b5d295eab2d07bb54e4e79d6d
7
+ data.tar.gz: 369385e8b787598a480d920828550e2647229c4c240429dce69b0935d2651b074a77b83c131088192f823ef119cf2d748f5ef478f4849347e11809ec5e4e27fa
data/README.md CHANGED
@@ -7,18 +7,30 @@ These tools give you an insight of some of the main aspects of your application.
7
7
  ## Usage
8
8
  The gem has 3 main feature: routing info, partials info and messages.
9
9
 
10
- ROUTING INFO
10
+ ## Screenshots
11
+ Take a look of the 3 main features
12
+ ![alt text](https://raw.githubusercontent.com/michele-lavezzi/rails-development-tools/master/docs/tools_0.png)
13
+
14
+ ### ROUTING INFO
11
15
  The routing panel shows the current action name, controller name and layout. This is helpful to quickly focus on the controller's action of the
12
16
  current page. Useful mainly in the case the RESTful rules are not fully applied and the controller/action couple is not easy guessing from the url
13
17
  ie. '/prices_computer' is routed to action 'search_by_category' in the 'product_controller'.
14
18
 
15
- PARTIALS INFO
19
+ ![alt text](https://raw.githubusercontent.com/michele-lavezzi/rails-development-tools/master/docs/tools_3.png)
20
+
21
+
22
+ ### PARTIALS INFO
16
23
  The partials info shows you the an overview of the partials file involved in the creation of the entire page.
17
24
 
18
- MESSAGES
25
+ ![alt text](https://raw.githubusercontent.com/michele-lavezzi/rails-development-tools/master/docs/tools_1.png)
26
+ ![alt text](https://raw.githubusercontent.com/michele-lavezzi/rails-development-tools/master/docs/tools_2.png)
27
+
28
+ ### MESSAGES
19
29
  This is used to avoid the need to open (ie. 'tail -f development.log') the .log file to see what's going on.
20
30
  You can set custom messages and see them directly on the screen.
21
31
 
32
+ ![alt text](https://raw.githubusercontent.com/michele-lavezzi/rails-development-tools/master/docs/tools_4.png)
33
+
22
34
  ## Installation
23
35
  Add this line to your application's Gemfile:
24
36
 
@@ -53,7 +65,7 @@ end
53
65
  ### - application.html.erb
54
66
  To include the main panel to all of your pages add the following line. This helper load a partial that loads the javascript.
55
67
  ```ruby
56
- <%= rails_development_tools_panel %>
68
+ <%= development_tools_panel %>
57
69
  ```
58
70
 
59
71
  ### - assets.rb
@@ -62,6 +74,11 @@ To make the javascripts available for loading include these lines:
62
74
  rails_development_tools/rails_development_tools.js
63
75
  rails_development_tools/rails_development_tools_status.js
64
76
  ```
77
+ ### - application.js
78
+ Add the following line
79
+ ```ruby
80
+ //= require js.cookie
81
+ ```
65
82
 
66
83
  ## License
67
84
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -118,7 +118,6 @@
118
118
  div#partials-container .single-partial {
119
119
  font-family: Helvetica;
120
120
  left: 20px;
121
- width: 100%;
122
121
  text-align: left;
123
122
  font-size: 12px;
124
123
  padding: 3px;
@@ -165,5 +164,7 @@
165
164
  font-size: 16px;
166
165
  font-weight: bold;
167
166
  line-height: 0;
167
+ height:13px;
168
+ font-family: Helvetica;
168
169
  }
169
170
  </style>
@@ -1,3 +1,3 @@
1
1
  module RailsDevelopmentTools
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_development_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - michele-lavezzi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-07 00:00:00.000000000 Z
11
+ date: 2018-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails