home_page 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/home_page/spinner.gif +0 -0
- data/app/views/layouts/application.html.erb +1 -1
- data/config/initializers/volontariat.rb +3 -0
- data/config/locales/general/en.yml +7 -1
- data/lib/home_page/pagination_metadata.rb +10 -0
- data/lib/home_page/version.rb +1 -1
- data/lib/home_page.rb +2 -0
- metadata +19 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 216c9a840f44595c1fc4074de0f13ee34b4fe7ef
|
4
|
+
data.tar.gz: 8201fae5624b35aba4b059968280f3aa86433af5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e24ab9f5fef20adfd8e12ef8ba3f7ee44167892f23d4669633a6b320b2c99cddc278015aebebbc94f5b8921d56242115c55a8c32646b449eecc457b48042e767
|
7
|
+
data.tar.gz: dcea08ef0341c3243c4469420124c85e9b3f9fb6ce9b6cefdedd636e59f61ae14033b4c439e57f05414bc39a5ce64487136c2a2b491f5a868f5bbb221c87491b
|
Binary file
|
@@ -16,6 +16,9 @@ en:
|
|
16
16
|
coming_soon: Coming soon
|
17
17
|
back_to_top: Back to top
|
18
18
|
powered_by_home_page_software: Powered by %{link}.
|
19
|
+
year: Year
|
20
|
+
name: Name
|
21
|
+
position: position
|
19
22
|
|
20
23
|
form:
|
21
24
|
errors_count: '%{count} prohibited this object from being saved:'
|
@@ -30,7 +33,10 @@ en:
|
|
30
33
|
wrong_recaptcha: The captcha code which you typed in is wrong.
|
31
34
|
access_denied: Access denied
|
32
35
|
not_found: Resource not found.
|
33
|
-
|
36
|
+
|
37
|
+
volontariat:
|
38
|
+
request_failed: Volontari.at request failed!
|
39
|
+
|
34
40
|
pages:
|
35
41
|
privacy_policy:
|
36
42
|
title: Privacy Police
|
@@ -0,0 +1,10 @@
|
|
1
|
+
module HomePage
|
2
|
+
class PaginationMetadata
|
3
|
+
attr_accessor :current_page, :per_page, :total_entries
|
4
|
+
alias_method :total_pages, :total_entries
|
5
|
+
|
6
|
+
def initialize(attributes)
|
7
|
+
attributes.each{|k,v| self.send("#{k}=", v) if self.respond_to?("#{k}=") }
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
data/lib/home_page/version.rb
CHANGED
data/lib/home_page.rb
CHANGED
@@ -18,8 +18,10 @@ require 'will_paginate-bootstrap'
|
|
18
18
|
require 'turbolinks'
|
19
19
|
require 'uglifier'
|
20
20
|
require 'yui/compressor'
|
21
|
+
require 'httparty'
|
21
22
|
|
22
23
|
require 'home_page/navigation'
|
24
|
+
require 'home_page/pagination_metadata'
|
23
25
|
require 'home_page/simple_navigation_renderer/breadcrumbs_without_method_links'
|
24
26
|
require 'home_page/simple_navigation_renderer/twitter_sidenav'
|
25
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: home_page
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Gawlista
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -318,6 +318,20 @@ dependencies:
|
|
318
318
|
- - "~>"
|
319
319
|
- !ruby/object:Gem::Version
|
320
320
|
version: 0.12.0
|
321
|
+
- !ruby/object:Gem::Dependency
|
322
|
+
name: httparty
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - "~>"
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: 0.13.3
|
328
|
+
type: :runtime
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - "~>"
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: 0.13.3
|
321
335
|
- !ruby/object:Gem::Dependency
|
322
336
|
name: mysql2
|
323
337
|
requirement: !ruby/object:Gem::Requirement
|
@@ -348,6 +362,7 @@ files:
|
|
348
362
|
- app/assets/fonts/socialicious.svg
|
349
363
|
- app/assets/fonts/socialicious.ttf
|
350
364
|
- app/assets/fonts/socialicious.woff
|
365
|
+
- app/assets/images/home_page/spinner.gif
|
351
366
|
- app/assets/javascripts/home_page/application.js
|
352
367
|
- app/assets/javascripts/home_page/loader.js
|
353
368
|
- app/assets/stylesheets/home_page/application.css
|
@@ -385,6 +400,7 @@ files:
|
|
385
400
|
- config/initializers/simple_form.rb
|
386
401
|
- config/initializers/simple_form_bootstrap.rb
|
387
402
|
- config/initializers/simple_navigation.rb
|
403
|
+
- config/initializers/volontariat.rb
|
388
404
|
- config/locales/devise.en.yml
|
389
405
|
- config/locales/general/en.yml
|
390
406
|
- config/locales/resources/tag/en.yml
|
@@ -396,6 +412,7 @@ files:
|
|
396
412
|
- lib/home_page.rb
|
397
413
|
- lib/home_page/engine.rb
|
398
414
|
- lib/home_page/navigation.rb
|
415
|
+
- lib/home_page/pagination_metadata.rb
|
399
416
|
- lib/home_page/simple_navigation_renderer/breadcrumbs_without_method_links.rb
|
400
417
|
- lib/home_page/simple_navigation_renderer/twitter_sidenav.rb
|
401
418
|
- lib/home_page/version.rb
|