meurio_ui 1.3.19 → 1.3.20

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
  SHA1:
3
- metadata.gz: a04d3ca5da3871ab6c11286e1f9936c160a79e5f
4
- data.tar.gz: 9482d6083eaeeeee217d09f5d16cb01327626e00
3
+ metadata.gz: 4db06db191fd69fddf4a98261432fc9a1a3d78a6
4
+ data.tar.gz: 5406505de71e6bc7afec302887dc94028d7693d1
5
5
  SHA512:
6
- metadata.gz: 745f8e99a04691bbe89ea97e16198720acec7688453e00542161c749ba106670cc6214073986b357844282a6fee94f42c1bb68c41d2307f536cfc092f8d33f28
7
- data.tar.gz: a66acf42b9207401a929aef26bc1aff49db7e68bddc83f63b575e629c740879a047abf6eb9bee0328a232f70fe6d9d994d291abcc8662b05f92bd5496c77098b
6
+ metadata.gz: 4a8628927308888203f83aa2b8d7b042e64de165f56c6307141e48ded99935dab1f0c400311cd42d0d051feb2ee8fa570c5d060420bf7cba44d136f158e43593
7
+ data.tar.gz: 5cfa8187fee9259490782934b332cf5b49efa61ecce88ae696bd293df0e8d7db15050ecb19abe55f58984b19c272216e0826b2305f1b464fdf16d8b52006e91e
@@ -13,13 +13,13 @@
13
13
  .current_user_links
14
14
  span Minha Conta
15
15
  = link_to "Ver meu perfil", "#{ENV['MEURIO_HOST']}/users/#{current_user.id}"
16
- = link_to "Editar meu perfil", "http://accounts.meurio.org.br/users/#{current_user.id}/edit"
17
- = link_to "Sair", "http://accounts.meurio.org.br/logout?redirect_url=#{request.url}"
16
+ = link_to "Editar meu perfil", "http://accounts.#{meurio_host}/users/#{current_user.id}/edit"
17
+ = link_to "Sair", "http://accounts.#{meurio_host}/logout?redirect_url=#{request.url}"
18
18
  - if content_for? :current_user_links
19
19
  span= application_name(@app)
20
20
  = yield :current_user_links
21
21
  - else
22
- = link_to 'Entrar', "http://accounts.meurio.org.br/?redirect_url=#{request.url}", class: :hollow_btn
22
+ = link_to 'Entrar', "http://accounts.#{meurio_host}/?redirect_url=#{request.url}", class: :hollow_btn
23
23
  .clear
24
24
 
25
25
  .meurio_apps_and_application_menu
@@ -37,22 +37,22 @@
37
37
  = link_to(ENV['MEURIO_HOST'], class: :meurio_app) do
38
38
  = image_tag('mrui_mr20.png')
39
39
  span= application_name(:mr20)
40
- = link_to('http://paneladepressao.meurio.org.br/', class: :meurio_app) do
40
+ = link_to("http://paneladepressao.#{meurio_host}/", class: :meurio_app) do
41
41
  = image_tag('mrui_pdp.png')
42
42
  span= application_name(:pdp)
43
- = link_to('http://verao.meurio.org.br/', class: :meurio_app) do
43
+ = link_to("http://verao.#{meurio_host}/", class: :meurio_app) do
44
44
  = image_tag('mrui_vds.png')
45
45
  span= application_name(:vds)
46
- = link_to('http://imagine.meurio.org.br/', class: :meurio_app) do
46
+ = link_to("http://imagine.#{meurio_host}/", class: :meurio_app) do
47
47
  = image_tag('mrui_imagine.png')
48
48
  span= application_name(:imagine)
49
- = link_to('https://apoie.meurio.org.br/', class: :meurio_app) do
49
+ = link_to("https://apoie.#{meurio_host}/", class: :meurio_app) do
50
50
  = image_tag('mrui_apoie.png')
51
51
  span= application_name(:apoie)
52
- = link_to('http://deolho.meurio.org.br/', class: :meurio_app) do
52
+ = link_to("http://deolho.#{meurio_host}/", class: :meurio_app) do
53
53
  = image_tag('mrui_deolho.png')
54
54
  span= application_name(:deolho)
55
- = link_to('http://deguarda.meurio.org.br/', class: :meurio_app) do
55
+ = link_to("http://deguarda.#{meurio_host}/", class: :meurio_app) do
56
56
  = image_tag("mrui_deguarda.png")
57
57
  span= application_name(:deguarda)
58
58
  .application_menu= yield :application_menu
@@ -1,5 +1,5 @@
1
1
  module MeurioUi
2
2
  module Rails
3
- VERSION = "1.3.19"
3
+ VERSION = "1.3.20"
4
4
  end
5
5
  end
@@ -21,5 +21,9 @@ module MeurioUi
21
21
  def meurio_ui_assets
22
22
  content_tag :link, nil, rel: "stylesheet", href: "http://i.icomoon.io/public/b6dafa29d0/MeuRio/style.css"
23
23
  end
24
+
25
+ def meurio_host
26
+ Rails.env.production? ? "meurio.org.br" : "meurio-staging.org.br"
27
+ end
24
28
  end
25
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meurio_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.19
4
+ version: 1.3.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nícolas Iensen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-14 00:00:00.000000000 Z
11
+ date: 2014-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler