dimples 2.2.0 → 2.3.0

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: 08b81d38a02d31e703220e8da704b1c5a907023f
4
- data.tar.gz: 77dbd35e0466ae3af0ea1e43d52a97c0a10cfff3
3
+ metadata.gz: 6df1fbadb2ce282909560a859b4d240ce7d6939a
4
+ data.tar.gz: 4725d40c3cb0841296a37955128d490c059fcc85
5
5
  SHA512:
6
- metadata.gz: 0e9012866a9d7f93efedf32d4d7047cfda09e0dcd69f984a39f575b8d0c617a1677e7cadf24e81b09a1ffb416d5da1bc94cf042732c5016199b45bb3c899b961
7
- data.tar.gz: 69cb4cb077aa8ac22cb63396d2505dc3d2e6171443576c4ae552532a12a10bd4e91ece3aa2717f7473430464ead1f6fe89c1b268a8d794a762832ef8fc0b025c
6
+ metadata.gz: 84bfd84ed05c271558a67203a1ac37173f7cec15283e27f44046eacfcf2d29b15d23d811c9c4822561f15a2b4d7c3629b4b22aabaff55e7a466118f854fd4a7c
7
+ data.tar.gz: ec8dbdb51b9bc734339ddefe274de4846e91f760de0c96f21060057ac7e73756fbc67430e4324bcd83c10f17f0d8820c88efe554aa90e9a6a5fa0ceca02089a6
@@ -61,14 +61,12 @@ module Dimples
61
61
 
62
62
  def self.default_pagination
63
63
  {
64
- 'enabled' => true,
65
64
  'per_page' => 10
66
65
  }
67
66
  end
68
67
 
69
68
  def self.default_generation
70
69
  {
71
- 'paginated_posts' => false,
72
70
  'categories' => true,
73
71
  'year_archives' => true,
74
72
  'month_archives' => true,
data/lib/dimples/site.rb CHANGED
@@ -150,12 +150,10 @@ module Dimples
150
150
  generate_post(post)
151
151
  end
152
152
 
153
- if @config['generation']['paginated_posts']
154
- paths = [@output_paths[:archives]]
155
- layout = @config['layouts']['posts']
153
+ paths = [@output_paths[:archives]]
154
+ layout = @config['layouts']['posts']
156
155
 
157
- paginate(posts: @posts, paths: paths, layout: layout)
158
- end
156
+ paginate(posts: @posts, paths: paths, layout: layout)
159
157
  end
160
158
 
161
159
  def generate_post(post)
@@ -1,3 +1,3 @@
1
1
  module Dimples
2
- VERSION = '2.2.0'.freeze
2
+ VERSION = '2.3.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dimples
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bogan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-07 00:00:00.000000000 Z
11
+ date: 2017-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tilt