lines-engine 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +86 -1
- data/app/controllers/lines/articles_controller.rb +7 -6
- data/lib/lines/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2359c769847dc2a7b09ea2b6145ba5b6f87901f5
|
4
|
+
data.tar.gz: 2a447e55eed87365319c16de18e11a17e65dce24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2d70715f45718f8a49c513df2e52765fa7d4f5d55bac1262cc42f6340e39d2503090d5e26f5a5fcaa1e686f452bebb8370968a466a29237159e216b0ed0972e
|
7
|
+
data.tar.gz: b53b567c1468d9949450d7e2e22e80bff1662456712a34a8010cb04de14b6ef7c48d745a96e1b592a408eae43f2308b2d611fbb97fe787287ff52ba2494e37c2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lines-engine (0.1.
|
4
|
+
lines-engine (0.1.14)
|
5
5
|
acts-as-taggable-on (~> 3.2.6, >= 3.2.6)
|
6
6
|
bcrypt (~> 3.1.0, >= 3.1.0)
|
7
7
|
carrierwave (~> 0.10.0, >= 0.10.0)
|
@@ -248,6 +248,91 @@ GEM
|
|
248
248
|
tins (1.1.0)
|
249
249
|
treetop (1.4.15)
|
250
250
|
polyglot
|
251
|
+
polyglot
|
252
|
+
polyglot
|
253
|
+
polyglot
|
254
|
+
polyglot
|
255
|
+
polyglot
|
256
|
+
polyglot
|
257
|
+
polyglot
|
258
|
+
polyglot
|
259
|
+
polyglot
|
260
|
+
polyglot
|
261
|
+
polyglot
|
262
|
+
polyglot
|
263
|
+
polyglot
|
264
|
+
polyglot
|
265
|
+
polyglot
|
266
|
+
polyglot
|
267
|
+
polyglot (>= 0.3.1)
|
268
|
+
polyglot (>= 0.3.1)
|
269
|
+
polyglot (>= 0.3.1)
|
270
|
+
polyglot (>= 0.3.1)
|
271
|
+
polyglot (>= 0.3.1)
|
272
|
+
polyglot (>= 0.3.1)
|
273
|
+
polyglot (>= 0.3.1)
|
274
|
+
polyglot (>= 0.3.1)
|
275
|
+
polyglot (>= 0.3.1)
|
276
|
+
polyglot (>= 0.3.1)
|
277
|
+
polyglot (>= 0.3.1)
|
278
|
+
polyglot (>= 0.3.1)
|
279
|
+
polyglot (>= 0.3.1)
|
280
|
+
polyglot (>= 0.3.1)
|
281
|
+
polyglot (>= 0.3.1)
|
282
|
+
polyglot (>= 0.3.1)
|
283
|
+
polyglot (>= 0.3.1)
|
284
|
+
polyglot (>= 0.3.1)
|
285
|
+
polyglot (>= 0.3.1)
|
286
|
+
polyglot (>= 0.3.1)
|
287
|
+
polyglot (>= 0.3.1)
|
288
|
+
polyglot (>= 0.3.1)
|
289
|
+
polyglot (>= 0.3.1)
|
290
|
+
polyglot (>= 0.3.1)
|
291
|
+
polyglot (>= 0.3.1)
|
292
|
+
polyglot (>= 0.3.1)
|
293
|
+
polyglot (>= 0.3.1)
|
294
|
+
polyglot (>= 0.3.1)
|
295
|
+
polyglot (>= 0.3.1)
|
296
|
+
polyglot (>= 0.3.1)
|
297
|
+
polyglot (>= 0.3.1)
|
298
|
+
polyglot (>= 0.3.1)
|
299
|
+
polyglot (>= 0.3.1)
|
300
|
+
polyglot (>= 0.3.1)
|
301
|
+
polyglot (>= 0.3.1)
|
302
|
+
polyglot (>= 0.3.1)
|
303
|
+
polyglot (>= 0.3.1)
|
304
|
+
polyglot (>= 0.3.1)
|
305
|
+
polyglot (>= 0.3.1)
|
306
|
+
polyglot (>= 0.3.1)
|
307
|
+
polyglot (>= 0.3.1)
|
308
|
+
polyglot (>= 0.3.1)
|
309
|
+
polyglot (>= 0.3.1)
|
310
|
+
polyglot (>= 0.3.1)
|
311
|
+
polyglot (>= 0.3.1)
|
312
|
+
polyglot (>= 0.3.1)
|
313
|
+
polyglot (>= 0.3.1)
|
314
|
+
polyglot (>= 0.3.1)
|
315
|
+
polyglot (>= 0.3.1)
|
316
|
+
polyglot (>= 0.3.1)
|
317
|
+
polyglot (>= 0.3.1)
|
318
|
+
polyglot (>= 0.3.1)
|
319
|
+
polyglot (>= 0.3.1)
|
320
|
+
polyglot (>= 0.3.1)
|
321
|
+
polyglot (>= 0.3.1)
|
322
|
+
polyglot (>= 0.3.1)
|
323
|
+
polyglot (>= 0.3.1)
|
324
|
+
polyglot (>= 0.3.1)
|
325
|
+
polyglot (>= 0.3.1)
|
326
|
+
polyglot (>= 0.3.1)
|
327
|
+
polyglot (>= 0.3.1)
|
328
|
+
polyglot (>= 0.3.1)
|
329
|
+
polyglot (>= 0.3.1)
|
330
|
+
polyglot (>= 0.3.1)
|
331
|
+
polyglot (>= 0.3.1)
|
332
|
+
polyglot (>= 0.3.1)
|
333
|
+
polyglot (>= 0.3.1)
|
334
|
+
polyglot (>= 0.3.1)
|
335
|
+
polyglot (>= 0.3.1)
|
251
336
|
polyglot (>= 0.3.1)
|
252
337
|
tzinfo (1.1.0)
|
253
338
|
thread_safe (~> 0.1)
|
@@ -44,14 +44,15 @@ module Lines
|
|
44
44
|
def show
|
45
45
|
@first_page = true
|
46
46
|
@article = Article.published.find(params[:id])
|
47
|
+
meta_tags = { title: SITE_TITLE,
|
48
|
+
type: 'article',
|
49
|
+
url: 'meta_og_url',
|
50
|
+
site_name: SITE_TITLE,
|
51
|
+
}
|
52
|
+
meta_tags[:image] = CONFIG[:host] + @article.image_url if @article.image_url.present?
|
47
53
|
set_meta_tags title: @article.title,
|
48
54
|
keywords: KEYWORDS + @article.tag_list.to_s,
|
49
|
-
open_graph:
|
50
|
-
type: 'article',
|
51
|
-
url: 'meta_og_url',
|
52
|
-
site_name: SITE_TITLE,
|
53
|
-
image: CONFIG[:host] + @article.image_url
|
54
|
-
}
|
55
|
+
open_graph: meta_tags
|
55
56
|
if request.path != article_path(@article)
|
56
57
|
return redirect_to @article, status: :moved_permanently
|
57
58
|
end
|
data/lib/lines/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lines-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Opoloo GbR
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|
@@ -832,7 +832,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
832
832
|
version: '0'
|
833
833
|
requirements: []
|
834
834
|
rubyforge_project:
|
835
|
-
rubygems_version: 2.
|
835
|
+
rubygems_version: 2.2.2
|
836
836
|
signing_key:
|
837
837
|
specification_version: 4
|
838
838
|
summary: LINES is the open source blog platform you have been waiting for
|