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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34f9abe42c791c964814452e83c5a9512d6f874c
4
- data.tar.gz: 39ab6bcb1f6b01093bb14a51e0e6b74fb6fe5230
3
+ metadata.gz: 3cf1f2e26263b64a4b83e9b07326bebf6476a14d
4
+ data.tar.gz: e83c0a7af4658237aa4ccccccc77f80e39f49011
5
5
  SHA512:
6
- metadata.gz: e99989efea2392c1d77b7b6823292c2af05f61cc04d2db1fccc666de90d13a121fdc6abea9af00e1a674a8010088a6633cbe8d6fb4639e8a64846ecb638878bf
7
- data.tar.gz: 869bb1765e921e3ae9351e93b3a2ac2697a7b62bca35d41949720296f91ed1a38c7f410961d731953ef39e3ad283b474459e78cf796091d82f2e754980254567
6
+ metadata.gz: 0468938038016a9a5ac9588a77cbb5e07cede89af7f4e6053544683950f7713242c0b815f02236fa7d83341c57268d83709a357a8350c6690971deb62f456128
7
+ data.tar.gz: 29da99429d62e21fa71bb7e852d54d3210ecd29bbf8a9cae8e7c9f4f3b156e0f8d5502939b8c50f7e290affe7afe2ce44498499bc71d6fc6782d35f46a5629bf
@@ -1,4 +1,5 @@
1
1
  module Cambios
2
- class ApplicationController < ActionController::Base
2
+ class ApplicationController < ::ApplicationController
3
+ layout 'layouts/application'
3
4
  end
4
5
  end
@@ -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
- <h5><%= item[:version] %><% unless item[:date].blank? %></h5> &nbsp; (<%= item[:date] %>)<% end %>
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> &nbsp; (<%= item[:date] %>)<% end %>
8
8
  </div>
9
9
  <div class="panel-body">
10
10
  <ul class="m-t small-list">
@@ -1,3 +1,3 @@
1
1
  module Cambios
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
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.0.0
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