jv 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +2 -2
- data/lib/jv/handler.rb +1 -2
- data/lib/jv/version.rb +1 -1
- metadata +2 -3
- data/lib/jv/view.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58480883755afa24599b89d40b22d2ace1c7786b
|
4
|
+
data.tar.gz: e3f1da80443de684c57338d32122a875c7477722
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b23a21463d6a9f56270d62d48a312dcf4df7c2666863af0a718a069bcbdbc4135cb7c1577e0279dc22b8bd97fbfd5368080fe557c5fd6fa5e18c13e24c4bf7e1
|
7
|
+
data.tar.gz: d1ffac5592f8797fc7c14df620203c1ce2f1c4ef76675d976c3af841c9210917dd576f9b862fbf4be6a3304f38ea3c9b2699b7c50d1a2976fb725d44441e2214
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -63,7 +63,7 @@ This response is following
|
|
63
63
|
|
64
64
|
## Benchmark
|
65
65
|
|
66
|
-
Benchmark script is
|
66
|
+
Benchmark script is here.
|
67
67
|
* [bin/benchmark.rb](https://github.com/tzmfreedom/jv/blob/master/spec/dummy_app/bin/benchmark.rb)
|
68
68
|
* [api_controller.rb](https://github.com/tzmfreedom/jv/blob/master/spec/dummy_app/app/controllers/api_controller.rb)
|
69
69
|
|
@@ -159,7 +159,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
159
159
|
|
160
160
|
## Contributing
|
161
161
|
|
162
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
162
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/tzmfreedom/jv.
|
163
163
|
|
164
164
|
## License
|
165
165
|
|
data/lib/jv/handler.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'jv/view'
|
2
1
|
require 'jv/render'
|
3
2
|
|
4
3
|
module Jv
|
@@ -11,7 +10,7 @@ module Jv
|
|
11
10
|
r ||= Jv::Render.new(self)
|
12
11
|
_partial ||= nil
|
13
12
|
hash = ->{ #{template.source} }.()
|
14
|
-
_partial.nil? ? hash.to_json :
|
13
|
+
_partial.nil? ? hash.to_json : "\#{hash.to_json},"
|
15
14
|
SRC
|
16
15
|
end
|
17
16
|
end
|
data/lib/jv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Makoto Tajitsu
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -88,7 +88,6 @@ files:
|
|
88
88
|
- lib/jv/railtie.rb
|
89
89
|
- lib/jv/render.rb
|
90
90
|
- lib/jv/version.rb
|
91
|
-
- lib/jv/view.rb
|
92
91
|
homepage: https://github.com/tzmfreedom/jv
|
93
92
|
licenses:
|
94
93
|
- MIT
|