Skip to content

Commit d5e5532

Browse files
committed
Merge pull request rughh#155 from arthurnn/bump_slim-rails
Bump slim-rails to 3.x
2 parents 17127a0 + 385e77c commit d5e5532

File tree

9 files changed

+31
-30
lines changed

9 files changed

+31
-30
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gem "rails", "~> 4.1.0"
77
gem "rails-observers", "~> 0.1.2"
88
gem "pg", "~> 0.17.1"
99
gem "rack-cache", "~> 1.2"
10-
gem "slim-rails", "~> 2.0"
10+
gem "slim-rails", "~> 3.0"
1111
gem "redcarpet", "~> 3.0"
1212
gem "friendly_id", "~> 5.0.2"
1313
gem "omniauth", "~> 1.2.1"

Gemfile.lock

+15-14
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ GEM
112112
heroku-deflater (0.5.3)
113113
rack (>= 1.4.5)
114114
hike (1.2.3)
115-
i18n (0.6.11)
115+
i18n (0.7.0)
116116
jquery-rails (3.1.2)
117117
railties (>= 3.0, < 5.0)
118118
thor (>= 0.14, < 2.0)
119-
json (1.8.1)
119+
json (1.8.2)
120120
jwt (1.0.0)
121121
kaminari (0.15.1)
122122
actionpack (>= 3.0.0)
@@ -141,7 +141,7 @@ GEM
141141
method_source (0.8.2)
142142
mime-types (2.4.3)
143143
mini_portile (0.6.0)
144-
minitest (5.4.3)
144+
minitest (5.5.0)
145145
multi_json (1.10.1)
146146
multi_xml (0.5.5)
147147
multipart-post (2.0.0)
@@ -210,7 +210,7 @@ GEM
210210
rack (>= 0.4)
211211
rack-contrib (1.1.0)
212212
rack (>= 0.9.1)
213-
rack-test (0.6.2)
213+
rack-test (0.6.3)
214214
rack (>= 1.0)
215215
rails (4.1.8)
216216
actionmailer (= 4.1.8)
@@ -235,7 +235,7 @@ GEM
235235
rake (>= 0.8.7)
236236
thor (>= 0.18.1, < 2.0)
237237
raindrops (0.13.0)
238-
rake (10.4.0)
238+
rake (10.4.2)
239239
redcarpet (3.1.2)
240240
ri_cal (0.8.8)
241241
rspec-collection_matchers (1.1.2)
@@ -268,14 +268,15 @@ GEM
268268
multi_json
269269
simplecov-html (~> 0.8.0)
270270
simplecov-html (0.8.0)
271-
slim (2.0.3)
272-
temple (~> 0.6.6)
271+
slim (3.0.1)
272+
temple (~> 0.7.3)
273273
tilt (>= 1.3.3, < 2.1)
274-
slim-rails (2.1.5)
275-
actionpack (>= 3.0, < 4.2)
276-
activesupport (>= 3.0, < 4.2)
277-
railties (>= 3.0, < 4.2)
278-
slim (~> 2.0)
274+
slim-rails (3.0.1)
275+
actionmailer (>= 3.1, < 5.0)
276+
actionpack (>= 3.1, < 5.0)
277+
activesupport (>= 3.1, < 5.0)
278+
railties (>= 3.1, < 5.0)
279+
slim (~> 3.0)
279280
slop (3.6.0)
280281
spring (1.1.3)
281282
spring-commands-rspec (1.0.2)
@@ -289,7 +290,7 @@ GEM
289290
actionpack (>= 3.0)
290291
activesupport (>= 3.0)
291292
sprockets (>= 2.8, < 4.0)
292-
temple (0.6.8)
293+
temple (0.7.5)
293294
thor (0.19.1)
294295
thread_safe (0.3.4)
295296
tilt (1.4.1)
@@ -360,7 +361,7 @@ DEPENDENCIES
360361
rspec-collection_matchers
361362
rspec-rails
362363
sass-rails (~> 4.0.3)
363-
slim-rails (~> 2.0)
364+
slim-rails (~> 3.0)
364365
spring
365366
spring-commands-rspec
366367
typus!

app/views/events/show.slim

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ section
55
p.meta
66
span
77
= fa_icon('calendar', class: 'fa-fw')
8-
=' link_to l(event.date, format: :long), event_path(event, format: :ics), title: event.name, class: 'ical'
8+
=> link_to l(event.date, format: :long), event_path(event, format: :ics), title: event.name, class: 'ical'
99
- if signed_in?
10-
==' "(#{calendar_link})"
11-
=' t("show.hosted_by")
10+
==> "(#{calendar_link})"
11+
=> t("show.hosted_by")
1212
= link_to_user event.user
1313
p.meta
1414
= fa_icon('map-marker', class: 'fa-fw')

app/views/home/_events.slim

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= section_box :events do
22
- if current_event
33
p
4-
=' link_to t("home.next_meetup"), current_event, title: current_event.name
4+
=> link_to t("home.next_meetup"), current_event, title: current_event.name
55
- if current_event.location.present?
66
== t("home.takes_place", event_date: content_tag(:em, l(current_event.date)), location_link: link_to(current_event.location.name, current_event.location, title: current_event.location.name))
77
- else

app/views/home/_topics.slim

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= section_box :topics do
22
p
3-
strong=' I18n.tw("home.like_to_talk")
3+
strong=> I18n.tw("home.like_to_talk")
44
== t("home.send_us_an_email", mail_to: mail_to(Whitelabel[:email], "E-Mail", title: "E-Mail"))
55
= render 'users/list', users: organizers
66
p== I18n.tw("home.engage")

app/views/locations/none.de.slim

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ section
66
p
77
' Usergroups suchen immer nach einem zu Hause für ihre Treffen.
88
' Wenn du oder deine Firma ein Treffen ausrichten möchte, dann
9-
=' mail_to Whitelabel[:email], "schicke uns einfach eine E-Mail", title: "#{Whitelabel[:twitter]} E-Mail"
9+
=> mail_to Whitelabel[:email], "schicke uns einfach eine E-Mail", title: "#{Whitelabel[:twitter]} E-Mail"
1010
' oder erwähne uns unter #{link_to_twitter Whitelabel[:twitter]}
1111
' oder wende dich an unsere Ansprechpartner:
1212
= render 'users/list', users: organizers
1313

1414
h3 Wie viele Plätze werden gebraucht?
1515
p
1616
' Bei den letzten Treffen haben sich im
17-
em' Durchschnitt #{stats[:participants]} Teilnehmer
17+
em> Durchschnitt #{stats[:participants]} Teilnehmer
1818
' angemeldet und es wurden ungefähr
19-
em' #{stats[:topics]} bis #{stats[:topics] + 1} Themen
19+
em> #{stats[:topics]} bis #{stats[:topics] + 1} Themen
2020
' vorgestellt.
2121
' Die Tatsächliche Anzahl der Teilnehmer ist kann allerdings stark abweichen,
2222
' deshalb am besten immer Rücksprache mit den Organisatoren halten.

app/views/shared/_footer.slim

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ section.clearfix
2929
ol.clearfix
3030
- other_usergroups.each do |ug|
3131
li
32-
=' link_to ug[:name], ug[:url], title: ug[:name]
32+
=> link_to ug[:name], ug[:url], title: ug[:name]
3333
= link_to_twitter(ug[:twitter], clung: true) if ug[:twitter]
3434

3535
.railsgroups.block.hr
@@ -38,7 +38,7 @@ section.clearfix
3838
- Whitelabel.labels.each do |label|
3939
li
4040
- name = t("label.#{label.label_id}.name")
41-
=' link_to name, label_url(label), title: name
41+
=> link_to name, label_url(label), title: name
4242
= link_to_twitter(label.twitter, clung: true)
4343

4444
.railssupporters.block

app/views/shared/_hint.slim

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
= hint(false) do
1010
- highlights.each do |highlight|
1111
.highlights
12-
strong=' t("hint.attention")
12+
strong=> t("hint.attention")
1313
= link_to highlight.description, highlight.url, title: highlight.description
1414
- elsif jobs.present?
1515
- unless current_user && current_user.hide_jobs?

app/views/shared/_nav.slim

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@ nav#nav.navbar
2424
li
2525
= link_to edit_user_path(current_user) do
2626
= fa_icon 'edit', class: 'fa-fw dropdown-list-icon'
27-
=' t("login.edit_profile")
27+
=> t("login.edit_profile")
2828
li
2929
= link_to destroy_session_path(current_user) do
3030
= fa_icon 'times', class: 'fa-fw dropdown-list-icon'
31-
=' t("login.logout")
31+
=> t("login.logout")
3232
- else
3333
- [:twitter, :github].each do |provider|
3434
- title = t("login.#{provider}_login")
3535
li.provider
3636
= link_to auth_path(provider: provider) do
3737
= fa_icon provider, class: 'fa-fw dropdown-list-icon'
38-
=' title
38+
=> title
3939

4040
- (I18n.available_locales - [I18n.locale]).each do |locale|
4141
- title = t("languages.#{locale}")
4242
li.locale
4343
= link_to url_for(locale: locale), title: t("switch_languages", language: title) do
4444
= fa_icon 'comment', class: 'fa-fw dropdown-list-icon'
45-
=' title
45+
=> title

0 commit comments

Comments
 (0)