cambios 1.0.0 → 1.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/app/controllers/cambios/application_controller.rb +2 -1
- data/app/helpers/cambios/application_helper.rb +7 -0
- data/app/views/cambios/main/index.html.erb +3 -3
- data/lib/cambios/version.rb +1 -1
- metadata +1 -4
- data/app/views/layouts/cambios/application.html.erb +0 -14
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3cf1f2e26263b64a4b83e9b07326bebf6476a14d
|
|
4
|
+
data.tar.gz: e83c0a7af4658237aa4ccccccc77f80e39f49011
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0468938038016a9a5ac9588a77cbb5e07cede89af7f4e6053544683950f7713242c0b815f02236fa7d83341c57268d83709a357a8350c6690971deb62f456128
|
|
7
|
+
data.tar.gz: 29da99429d62e21fa71bb7e852d54d3210ecd29bbf8a9cae8e7c9f4f3b156e0f8d5502939b8c50f7e290affe7afe2ce44498499bc71d6fc6782d35f46a5629bf
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
module Cambios
|
|
2
2
|
module ApplicationHelper
|
|
3
|
+
def method_missing(method, *args, &block)
|
|
4
|
+
if (method.to_s.end_with?('_path') || method.to_s.end_with?('_url')) && main_app.respond_to?(method)
|
|
5
|
+
main_app.send(method, *args)
|
|
6
|
+
else
|
|
7
|
+
super
|
|
8
|
+
end
|
|
9
|
+
end
|
|
3
10
|
end
|
|
4
11
|
end
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
<% @versions.each do |item|
|
|
3
3
|
next if Rails.env == "production" && item[:version] == "In Progress"
|
|
4
4
|
%>
|
|
5
|
-
<div class="panel">
|
|
6
|
-
<div class="panel-heading">
|
|
7
|
-
<
|
|
5
|
+
<div class="panel panel-<%= item[:version] == "In Progress" ? "primary" : "success" %>">
|
|
6
|
+
<div class="panel-heading ">
|
|
7
|
+
<h3 class="panel-title"><%= item[:version] %><% unless item[:date].blank? %></h3> (<%= item[:date] %>)<% end %>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="panel-body">
|
|
10
10
|
<ul class="m-t small-list">
|
data/lib/cambios/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cambios
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rob Kitson
|
|
@@ -49,7 +49,6 @@ files:
|
|
|
49
49
|
- app/helpers/cambios/application_helper.rb
|
|
50
50
|
- app/helpers/cambios/main_helper.rb
|
|
51
51
|
- app/views/cambios/main/index.html.erb
|
|
52
|
-
- app/views/layouts/cambios/application.html.erb
|
|
53
52
|
- config/routes.rb
|
|
54
53
|
- lib/cambios.rb
|
|
55
54
|
- lib/cambios/engine.rb
|
|
@@ -131,7 +130,6 @@ files:
|
|
|
131
130
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/whOaxMapOoTKeK8XSVl7uInq_YSbeoP_ksD8sG3UZeg.cache
|
|
132
131
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/y2eEDU2aMcwXGnXc8oyP7ZJI4jH5D7DdC5_4_hPPrEc.cache
|
|
133
132
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/yoZss7Yt0EugR9K5dnqtqdmMvhcb2kd5rkECfcjGMos.cache
|
|
134
|
-
- test/dummy/tmp/pids/server.pid
|
|
135
133
|
- test/integration/navigation_test.rb
|
|
136
134
|
- test/test_helper.rb
|
|
137
135
|
homepage: https://github.com/robKitson/cambios
|
|
@@ -235,6 +233,5 @@ test_files:
|
|
|
235
233
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/y2eEDU2aMcwXGnXc8oyP7ZJI4jH5D7DdC5_4_hPPrEc.cache
|
|
236
234
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/yoZss7Yt0EugR9K5dnqtqdmMvhcb2kd5rkECfcjGMos.cache
|
|
237
235
|
- test/dummy/tmp/cache/assets/development/sprockets/v3.0/YwubSbAcf1815XDZFOwwS569uepQoKN0MG1wwLsUMP4.cache
|
|
238
|
-
- test/dummy/tmp/pids/server.pid
|
|
239
236
|
- test/integration/navigation_test.rb
|
|
240
237
|
- test/test_helper.rb
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Cambios</title>
|
|
5
|
-
<%= stylesheet_link_tag "cambios/application", media: "all" %>
|
|
6
|
-
<%= javascript_include_tag "cambios/application" %>
|
|
7
|
-
<%= csrf_meta_tags %>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
|
|
11
|
-
<%= yield %>
|
|
12
|
-
|
|
13
|
-
</body>
|
|
14
|
-
</html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
61465
|