rails_development_tools 0.1.5 → 0.1.6

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
- SHA1:
3
- metadata.gz: f3064eeba83d87c9fb5fabc9aacbb6856c202bcf
4
- data.tar.gz: 1314eaf4d40fbc34f4fd1e060a84dc02f972b1dc
2
+ SHA256:
3
+ metadata.gz: 1ca9de14316b39f9ac40d98f5e0475efafe16c04d2ad54f52b458b59904901c2
4
+ data.tar.gz: 00ded7621b383bf70745ccc206c4a56b60d966bae81a4ef081dde3055b6c4c6f
5
5
  SHA512:
6
- metadata.gz: 1871e4383ac7c53335a21b3c0fd9733a0482df87f412598e4ce535803bb1e4ad820d97502a3cc6abe0ca26c07d3b7244fb92d112ea09f3500098352c28ea7b84
7
- data.tar.gz: af3c5cce9d512ef5a6cad4997722a3d908034cd387df4ee6784f120a2b16588f9ed4560b41d1fcaa2c10ea9a6b2c7d1dde92f0f4ac69f3ea7347175b260cbdd3
6
+ metadata.gz: b3044402dfd763b4121a5a73d141e945193091b20f20ee5be66360c8f74c4b4c4256ad90b81c058c67b21018a25b941abb8b133df0aec3f95349d13532a170d9
7
+ data.tar.gz: c455ca2e9327f01095bba341ad26c179d9eee1dca5d6302a1375eb401847185e66aa51612f2ccdcd988c0119538e5c30699963e8bab00cac195a415616ef11cc
@@ -3,6 +3,7 @@
3
3
 
4
4
  var $container = $("<div/>")
5
5
  $container.css('position','fixed');
6
+ $container.css('left','0');
6
7
 
7
8
  $container.attr('id','partials-container');
8
9
 
@@ -19,6 +19,8 @@
19
19
  }
20
20
 
21
21
  div.development-tools-message #development-tools-title {
22
+ font-family: Helvetica;
23
+ font-size: 13px;
22
24
  background-color: #333;
23
25
  color:white;
24
26
  border-top-left-radius: 10px;
@@ -15,6 +15,9 @@
15
15
  <!-- style for panel -->
16
16
  <style>
17
17
  .development-tools-panel {
18
+ top:0;
19
+ font-family: Helvetica;
20
+ font-size: 13px;
18
21
  position: fixed;
19
22
  left: 50%;
20
23
  transform: translateX(-50%);
@@ -36,6 +39,12 @@
36
39
  background-color: #333;
37
40
  text-align: center;
38
41
  }
42
+
43
+ .development-tools-panel label {
44
+ font-size: 13px;
45
+ font-weight: normal;
46
+ display: inline;
47
+ }
39
48
  </style>
40
49
 
41
50
  <!-- style for routing info -->
@@ -47,8 +56,10 @@
47
56
  div.development-tools #title {
48
57
  background-color: #333;
49
58
  color: white;
59
+ font-size: 13px;
50
60
  padding: 4px 0;
51
61
  text-align: center;
62
+ font-family: Helvetica;
52
63
  }
53
64
 
54
65
  div.development-tools td.value {
@@ -65,6 +76,8 @@
65
76
 
66
77
  div.development-tools td.label {
67
78
  text-align: right;
79
+ font-size: 12px;
80
+ font-family: Helvetica;
68
81
  }
69
82
 
70
83
  div.development-tools span.label {
@@ -78,6 +91,7 @@
78
91
  position: fixed;
79
92
  border-bottom-left-radius: 10px;
80
93
  left: 100%;
94
+ top:0;
81
95
  transform: translateX(-100%);
82
96
  z-index: 999;
83
97
  background-color: rgba(255, 255, 255, 100);
@@ -91,9 +105,10 @@
91
105
  <!-- style for partials -->
92
106
  <style>
93
107
  div#partials-container #title {
108
+ font-family: Helvetica;
94
109
  background-color: #333;
95
110
  color: white;
96
-
111
+ font-size: 13px;
97
112
  border-top-right-radius: 10px;
98
113
  margin-bottom: 5px;
99
114
  text-align: center;
@@ -101,6 +116,7 @@
101
116
  }
102
117
 
103
118
  div#partials-container .single-partial {
119
+ font-family: Helvetica;
104
120
  left: 20px;
105
121
  width: 100%;
106
122
  text-align: left;
@@ -8,8 +8,10 @@
8
8
  <td class='label'><span class='label'>action</span></td>
9
9
  <td class='value'><span class='value'><%= action_name %></span></td>
10
10
  </tr>
11
+
12
+ <% layout = controller.send(:_layout, ['']) %>
11
13
  <tr>
12
14
  <td class='label'><span class='label'>layout</span></td>
13
- <td class='value'><span class='value'><%= controller.send('_layout', '') %></span></td>
15
+ <td class='value'><span class='value'><%= layout || 'application' %></span></td>
14
16
  </tr>
15
17
  </table>
@@ -1,3 +1,3 @@
1
1
  module RailsDevelopmentTools
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
@@ -1,5 +1,6 @@
1
1
  require 'rails_development_tools/engine'
2
2
  require 'deface'
3
+ require 'js_cookie_rails'
3
4
 
4
5
  module RailsDevelopmentTools
5
6
  extend ActiveSupport::Concern
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.5
4
+ version: 0.1.6
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-02-15 00:00:00.000000000 Z
11
+ date: 2018-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: js_cookie_rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  description: ''
42
56
  email:
43
57
  - michele.lavezzi@gmail.com
@@ -85,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
99
  version: '0'
86
100
  requirements: []
87
101
  rubyforge_project:
88
- rubygems_version: 2.6.14
102
+ rubygems_version: 2.7.3
89
103
  signing_key:
90
104
  specification_version: 4
91
105
  summary: Tools to speed up Rails applications development