sinatra-bells 0.2.0 → 0.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: f48f7ee9c1145221ed496d9b54c6e491b8d1f970
4
- data.tar.gz: 368bf27da21c3a1f6cca9c27a161480464680c25
3
+ metadata.gz: f4d8d747f1dbcd4fe39bd55d5cf787e5bf537e4f
4
+ data.tar.gz: a44048ea6c7d6081f13acd8d6d1313f6c2519753
5
5
  SHA512:
6
- metadata.gz: f551cba21b9e5a3d3b5108f60b5f2e676ce606b0326c82b0276e50180f0911c1b947dc4a9a08028e45b531912928aa9af538fe3ae00ed361d1e422d97e1d7b50
7
- data.tar.gz: 276ab6664c6bc8fc35f2479d59dc9d78043fbe5659ece2ed011017d6e5d1ca717ac19bd852427984bf76b87c26f872fe00ec635c6594397fec8e495657376abd
6
+ metadata.gz: 074d45d14568d8a136182dcfc2fd7e437a94a5611d3e9aaba8ac7d2d12d9ef419e9cfd7e4289c466f534590236c689638322175a24add8e2a57c29d3d468a76b
7
+ data.tar.gz: 550a3e97a9b0b8de15e48b8adaa643eb17d73225fee004270099f108f66bbaa89b44210c26870561ae817456ef3b76ff290a5ea73685d61e1647f16354abaa66
data/ChangeLog CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  = Revision history for sinatra-bells
4
4
 
5
+ == 0.3.0 [2016-01-28]
6
+
7
+ * Added Sinatra::Bells::Helpers::View#partial.
8
+
5
9
  == 0.2.0 [2015-11-18]
6
10
 
7
11
  * Added shortcuts for all HTML elements to Sinatra::Bells::Helpers::View.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to sinatra-bells version 0.2.0
5
+ This documentation refers to sinatra-bells version 0.3.0
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -24,7 +24,7 @@ RubyGem:: https://rubygems.org/gems/sinatra-bells
24
24
 
25
25
  == LICENSE AND COPYRIGHT
26
26
 
27
- Copyright (C) 2014-2015 Jens Wille
27
+ Copyright (C) 2014-2016 Jens Wille
28
28
 
29
29
  sinatra-bells is free software: you can redistribute it and/or modify it
30
30
  under the terms of the GNU Affero General Public License as published by
@@ -5,7 +5,7 @@
5
5
  # #
6
6
  # sinatra-bells -- Sinatra with some more bells and whistles #
7
7
  # #
8
- # Copyright (C) 2014-2015 Jens Wille #
8
+ # Copyright (C) 2014-2016 Jens Wille #
9
9
  # #
10
10
  # Authors: #
11
11
  # Jens Wille <jens.wille@gmail.com> #
@@ -155,6 +155,10 @@ class Sinatra::Bells
155
155
  }
156
156
  end
157
157
 
158
+ def partial(name, locals = {}, layout = false)
159
+ send(settings.default_renderer, :"_#{name}", locals: locals, layout: layout)
160
+ end
161
+
158
162
  end
159
163
 
160
164
  end
@@ -5,7 +5,7 @@ module Sinatra
5
5
  module Version
6
6
 
7
7
  MAJOR = 0
8
- MINOR = 2
8
+ MINOR = 3
9
9
  TINY = 0
10
10
 
11
11
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-bells
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-18 00:00:00.000000000 Z
11
+ date: 2016-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -83,15 +83,13 @@ licenses:
83
83
  metadata: {}
84
84
  post_install_message: |2+
85
85
 
86
- sinatra-bells-0.2.0 [2015-11-18]:
86
+ sinatra-bells-0.3.0 [2016-01-28]:
87
87
 
88
- * Added shortcuts for all HTML elements to Sinatra::Bells::Helpers::View.
89
- * Added Sinatra::Bells.set_defer.
90
- * Added Sinatra::Bells.set_async.
88
+ * Added Sinatra::Bells::Helpers::View#partial.
91
89
 
92
90
  rdoc_options:
93
91
  - "--title"
94
- - sinatra-bells Application documentation (v0.2.0)
92
+ - sinatra-bells Application documentation (v0.3.0)
95
93
  - "--charset"
96
94
  - UTF-8
97
95
  - "--line-numbers"
@@ -112,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
110
  version: '0'
113
111
  requirements: []
114
112
  rubyforge_project:
115
- rubygems_version: 2.5.0
113
+ rubygems_version: 2.5.1
116
114
  signing_key:
117
115
  specification_version: 4
118
116
  summary: Sinatra with some more bells and whistles.