sinatra-bells 0.2.0 → 0.3.0
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 +4 -4
- data/ChangeLog +4 -0
- data/README +2 -2
- data/lib/sinatra/bells/helpers/view.rb +5 -1
- data/lib/sinatra/bells/version.rb +1 -1
- metadata +6 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4d8d747f1dbcd4fe39bd55d5cf787e5bf537e4f
|
4
|
+
data.tar.gz: a44048ea6c7d6081f13acd8d6d1313f6c2519753
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 074d45d14568d8a136182dcfc2fd7e437a94a5611d3e9aaba8ac7d2d12d9ef419e9cfd7e4289c466f534590236c689638322175a24add8e2a57c29d3d468a76b
|
7
|
+
data.tar.gz: 550a3e97a9b0b8de15e48b8adaa643eb17d73225fee004270099f108f66bbaa89b44210c26870561ae817456ef3b76ff290a5ea73685d61e1647f16354abaa66
|
data/ChangeLog
CHANGED
data/README
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
== VERSION
|
4
4
|
|
5
|
-
This documentation refers to sinatra-bells version 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-
|
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-
|
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
|
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.
|
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:
|
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.
|
86
|
+
sinatra-bells-0.3.0 [2016-01-28]:
|
87
87
|
|
88
|
-
* Added
|
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.
|
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.
|
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.
|