pagers 3.1.1 → 3.1.2

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: 83f558d58e09ce7c0b66f12fd98922f84f1215da
4
- data.tar.gz: c390e9e2bc8db538b87b780f3b3ae2fa4553d620
3
+ metadata.gz: a749ceb6c9f0113661f5ce6fa4b71576e49a6670
4
+ data.tar.gz: 079a7cc68cc4541bb158bd4b7f1ea096c44ed4c6
5
5
  SHA512:
6
- metadata.gz: cb5f308ff13491d392aa6b14c3af6b2231af570c4d621fe402366a90a4827c456afaf25bddd798564a3cd6eb1e9c1473fa7f4ce9780b74229bf4c470f93214a4
7
- data.tar.gz: bffa4594b243f366f525cd4dfb603476e491fba99e25dda3687c46335b17a0db8e4d3a0f22bbeb7fe1f12562d10d600eaad3cf578eee282a98f6adbffa8b5e18
6
+ metadata.gz: 83c898a7a9eed8d64613b543fa6d9f9e1f54a314cb27550a527d085a1c34b195532a2fe78da8e9c8daa726c26821602d85345f76c4c6c24da6adb1f194d4e193
7
+ data.tar.gz: 1d546e26b8fb6d13ea21ff2533b246de88f6b1356f399a038c2ac11bed7a5fec6df1acaf109e831f8a9ad03144e68ba87955dae1a3e8d8d5e393d597effd418e
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2014 Museways
1
+ Copyright 2015 Museways
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Gem Version](https://badge.fury.io/rb/pagers.svg)](http://badge.fury.io/rb/pagers) [![Code Climate](https://codeclimate.com/github/museways/pagers/badges/gpa.svg)](https://codeclimate.com/github/museways/pagers) [![Build Status](https://travis-ci.org/museways/pagers.svg?branch=3.0.3)](https://travis-ci.org/museways/pagers)
1
+ [![Gem Version](https://badge.fury.io/rb/pagers.svg)](http://badge.fury.io/rb/pagers) [![Code Climate](https://codeclimate.com/github/museways/pagers/badges/gpa.svg)](https://codeclimate.com/github/museways/pagers) [![Build Status](https://travis-ci.org/museways/pagers.svg?branch=3.0.3)](https://travis-ci.org/museways/pagers) [![Dependency Status](https://gemnasium.com/museways/pagers.svg)](https://gemnasium.com/museways/pagers)
2
2
 
3
3
  # Pagers
4
4
 
@@ -1,5 +1,5 @@
1
1
  module Pagers
2
2
 
3
- VERSION = '3.1.1'
3
+ VERSION = '3.1.2'
4
4
 
5
5
  end
@@ -20,7 +20,11 @@ Dummy::Application.configure do
20
20
  # config.action_dispatch.rack_cache = true
21
21
 
22
22
  # Disable Rails's static asset server (Apache or nginx will already do this).
23
- config.serve_static_assets = false
23
+ if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR >= 2
24
+ config.serve_static_files = false
25
+ else
26
+ config.serve_static_assets = false
27
+ end
24
28
 
25
29
  # Compress JavaScripts and CSS.
26
30
  config.assets.js_compressor = :uglifier
@@ -13,7 +13,11 @@ Dummy::Application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_assets = true
16
+ if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR >= 2
17
+ config.serve_static_files = false
18
+ else
19
+ config.serve_static_assets = false
20
+ end
17
21
  config.static_cache_control = "public, max-age=3600"
18
22
 
19
23
  # Show full error reports and disable caching.
@@ -33,4 +37,8 @@ Dummy::Application.configure do
33
37
 
34
38
  # Print deprecation notices to the stderr.
35
39
  config.active_support.deprecation = :stderr
40
+
41
+ if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR >= 2
42
+ config.active_support.test_order = :random
43
+ end
36
44
  end
Binary file