viu 0.0.5 → 0.0.6

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
  SHA256:
3
- metadata.gz: 17de95e5852c60464030292d611b3baa74bc9e5b72de1dab5cc6f820241b35cb
4
- data.tar.gz: 1c04d6ee4f5ecb39bd846a7673bb542a2f1c34aacafa1acdf84cabeb799ffedb
3
+ metadata.gz: 34b16c8835912c41e5464fa58b2e7f70b947d502c02fd50954464a7db5656820
4
+ data.tar.gz: a5dea697f921f16c336d6d038d6416e4353e5ee103a8d2dc081b9ed8b7ad6cba
5
5
  SHA512:
6
- metadata.gz: c4a88a1afc091b1a1840bdc07bbc69d3c12b0ed2725875cc7d457bd12928188dd514c0aa27e538cee12d092eedff4346c15f76ee7ee47f00cc0880645165b48f
7
- data.tar.gz: '099c2aa54ac9281b47a0cc777927b4076265bedbd873c39cc03b1c23a8adcfa1d714036976ee961b3a707d69565cdd3ba75e3b440c5faa46061228996d8ab802'
6
+ metadata.gz: e65307f39be95a5e33328e22368a8072ece3357bf71bf53598f797470a71a6dd81241817b22bb623c1953e7e24db36dc54112a92ea27ad3f44ab8974c55b085d
7
+ data.tar.gz: 4ff6b0286b900b2cec67f034342238b498ecda7d455f1210ea610f44323d0d19423fcee6bd55f766934d8be58f14ee5ce9624706be15f32eb23366aedac9a924
data/Appraisals CHANGED
@@ -13,3 +13,7 @@ end
13
13
  appraise "rails-6-0" do
14
14
  gem "rails", "~> 6.0.0"
15
15
  end
16
+
17
+ appraise "rails-6-1" do
18
+ gem "rails", "~> 6.1.0"
19
+ end
@@ -1,3 +1,7 @@
1
+ ## 0.0.6 2020-12-23
2
+
3
+ - Set content type as "text/html" when using #render_view
4
+
1
5
  ## 0.0.5 2020-12-01
2
6
 
3
7
  - Added support for Rails 6.1.0.rc1
@@ -1,84 +1,84 @@
1
1
  GIT
2
2
  remote: https://github.com/rails/rails
3
- revision: 7503ef9490583f7b2c3a475edd2bb1b7de0afcac
3
+ revision: 007a86506f02db265b6c8156575f29733931338e
4
4
  specs:
5
- actioncable (6.1.0.rc1)
6
- actionpack (= 6.1.0.rc1)
7
- activesupport (= 6.1.0.rc1)
5
+ actioncable (6.2.0.alpha)
6
+ actionpack (= 6.2.0.alpha)
7
+ activesupport (= 6.2.0.alpha)
8
8
  nio4r (~> 2.0)
9
9
  websocket-driver (>= 0.6.1)
10
- actionmailbox (6.1.0.rc1)
11
- actionpack (= 6.1.0.rc1)
12
- activejob (= 6.1.0.rc1)
13
- activerecord (= 6.1.0.rc1)
14
- activestorage (= 6.1.0.rc1)
15
- activesupport (= 6.1.0.rc1)
10
+ actionmailbox (6.2.0.alpha)
11
+ actionpack (= 6.2.0.alpha)
12
+ activejob (= 6.2.0.alpha)
13
+ activerecord (= 6.2.0.alpha)
14
+ activestorage (= 6.2.0.alpha)
15
+ activesupport (= 6.2.0.alpha)
16
16
  mail (>= 2.7.1)
17
- actionmailer (6.1.0.rc1)
18
- actionpack (= 6.1.0.rc1)
19
- actionview (= 6.1.0.rc1)
20
- activejob (= 6.1.0.rc1)
21
- activesupport (= 6.1.0.rc1)
17
+ actionmailer (6.2.0.alpha)
18
+ actionpack (= 6.2.0.alpha)
19
+ actionview (= 6.2.0.alpha)
20
+ activejob (= 6.2.0.alpha)
21
+ activesupport (= 6.2.0.alpha)
22
22
  mail (~> 2.5, >= 2.5.4)
23
23
  rails-dom-testing (~> 2.0)
24
- actionpack (6.1.0.rc1)
25
- actionview (= 6.1.0.rc1)
26
- activesupport (= 6.1.0.rc1)
24
+ actionpack (6.2.0.alpha)
25
+ actionview (= 6.2.0.alpha)
26
+ activesupport (= 6.2.0.alpha)
27
27
  rack (~> 2.0, >= 2.0.9)
28
28
  rack-test (>= 0.6.3)
29
29
  rails-dom-testing (~> 2.0)
30
30
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
31
- actiontext (6.1.0.rc1)
32
- actionpack (= 6.1.0.rc1)
33
- activerecord (= 6.1.0.rc1)
34
- activestorage (= 6.1.0.rc1)
35
- activesupport (= 6.1.0.rc1)
31
+ actiontext (6.2.0.alpha)
32
+ actionpack (= 6.2.0.alpha)
33
+ activerecord (= 6.2.0.alpha)
34
+ activestorage (= 6.2.0.alpha)
35
+ activesupport (= 6.2.0.alpha)
36
36
  nokogiri (>= 1.8.5)
37
- actionview (6.1.0.rc1)
38
- activesupport (= 6.1.0.rc1)
37
+ actionview (6.2.0.alpha)
38
+ activesupport (= 6.2.0.alpha)
39
39
  builder (~> 3.1)
40
40
  erubi (~> 1.4)
41
41
  rails-dom-testing (~> 2.0)
42
42
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
43
- activejob (6.1.0.rc1)
44
- activesupport (= 6.1.0.rc1)
43
+ activejob (6.2.0.alpha)
44
+ activesupport (= 6.2.0.alpha)
45
45
  globalid (>= 0.3.6)
46
- activemodel (6.1.0.rc1)
47
- activesupport (= 6.1.0.rc1)
48
- activerecord (6.1.0.rc1)
49
- activemodel (= 6.1.0.rc1)
50
- activesupport (= 6.1.0.rc1)
51
- activestorage (6.1.0.rc1)
52
- actionpack (= 6.1.0.rc1)
53
- activejob (= 6.1.0.rc1)
54
- activerecord (= 6.1.0.rc1)
55
- activesupport (= 6.1.0.rc1)
46
+ activemodel (6.2.0.alpha)
47
+ activesupport (= 6.2.0.alpha)
48
+ activerecord (6.2.0.alpha)
49
+ activemodel (= 6.2.0.alpha)
50
+ activesupport (= 6.2.0.alpha)
51
+ activestorage (6.2.0.alpha)
52
+ actionpack (= 6.2.0.alpha)
53
+ activejob (= 6.2.0.alpha)
54
+ activerecord (= 6.2.0.alpha)
55
+ activesupport (= 6.2.0.alpha)
56
56
  marcel (~> 0.3.1)
57
57
  mimemagic (~> 0.3.2)
58
- activesupport (6.1.0.rc1)
58
+ activesupport (6.2.0.alpha)
59
59
  concurrent-ruby (~> 1.0, >= 1.0.2)
60
60
  i18n (>= 1.6, < 2)
61
61
  minitest (>= 5.1)
62
62
  tzinfo (~> 2.0)
63
63
  zeitwerk (~> 2.3)
64
- rails (6.1.0.rc1)
65
- actioncable (= 6.1.0.rc1)
66
- actionmailbox (= 6.1.0.rc1)
67
- actionmailer (= 6.1.0.rc1)
68
- actionpack (= 6.1.0.rc1)
69
- actiontext (= 6.1.0.rc1)
70
- actionview (= 6.1.0.rc1)
71
- activejob (= 6.1.0.rc1)
72
- activemodel (= 6.1.0.rc1)
73
- activerecord (= 6.1.0.rc1)
74
- activestorage (= 6.1.0.rc1)
75
- activesupport (= 6.1.0.rc1)
64
+ rails (6.2.0.alpha)
65
+ actioncable (= 6.2.0.alpha)
66
+ actionmailbox (= 6.2.0.alpha)
67
+ actionmailer (= 6.2.0.alpha)
68
+ actionpack (= 6.2.0.alpha)
69
+ actiontext (= 6.2.0.alpha)
70
+ actionview (= 6.2.0.alpha)
71
+ activejob (= 6.2.0.alpha)
72
+ activemodel (= 6.2.0.alpha)
73
+ activerecord (= 6.2.0.alpha)
74
+ activestorage (= 6.2.0.alpha)
75
+ activesupport (= 6.2.0.alpha)
76
76
  bundler (>= 1.15.0)
77
- railties (= 6.1.0.rc1)
77
+ railties (= 6.2.0.alpha)
78
78
  sprockets-rails (>= 2.0.0)
79
- railties (6.1.0.rc1)
80
- actionpack (= 6.1.0.rc1)
81
- activesupport (= 6.1.0.rc1)
79
+ railties (6.2.0.alpha)
80
+ actionpack (= 6.2.0.alpha)
81
+ activesupport (= 6.2.0.alpha)
82
82
  method_source
83
83
  rake (>= 0.8.7)
84
84
  thor (~> 1.0)
@@ -86,7 +86,7 @@ GIT
86
86
  PATH
87
87
  remote: .
88
88
  specs:
89
- viu (0.0.5)
89
+ viu (0.0.6)
90
90
 
91
91
  GEM
92
92
  remote: https://rubygems.org/
@@ -95,15 +95,14 @@ GEM
95
95
  bundler
96
96
  rake
97
97
  thor (>= 0.14.0)
98
- bigdecimal (2.0.0)
99
98
  builder (3.2.4)
100
99
  concurrent-ruby (1.1.7)
101
100
  crass (1.0.6)
102
- docile (1.3.2)
101
+ docile (1.3.4)
103
102
  erubi (1.10.0)
104
103
  globalid (0.4.2)
105
104
  activesupport (>= 4.2.0)
106
- haml (5.1.2)
105
+ haml (5.2.1)
107
106
  temple (>= 0.8.0)
108
107
  tilt
109
108
  i18n (1.8.5)
@@ -119,12 +118,11 @@ GEM
119
118
  mimemagic (0.3.5)
120
119
  mini_mime (1.0.2)
121
120
  mini_portile2 (2.4.0)
122
- minitest (5.14.1)
121
+ minitest (5.14.2)
123
122
  nio4r (2.5.4)
124
123
  nokogiri (1.10.10)
125
124
  mini_portile2 (~> 2.4.0)
126
- oj (3.10.12)
127
- bigdecimal (>= 1.0, < 3)
125
+ oj (3.10.17)
128
126
  rack (2.2.3)
129
127
  rack-test (1.1.0)
130
128
  rack (>= 1.0, < 3)
@@ -137,7 +135,7 @@ GEM
137
135
  simplecov (0.18.5)
138
136
  docile (~> 1.1)
139
137
  simplecov-html (~> 0.11)
140
- simplecov-html (0.12.2)
138
+ simplecov-html (0.12.3)
141
139
  slim (4.1.0)
142
140
  temple (>= 0.7.6, < 0.9)
143
141
  tilt (>= 2.0.6, < 2.1)
@@ -151,7 +149,7 @@ GEM
151
149
  temple (0.8.2)
152
150
  thor (1.0.1)
153
151
  tilt (2.0.10)
154
- tzinfo (2.0.3)
152
+ tzinfo (2.0.4)
155
153
  concurrent-ruby (~> 1.0)
156
154
  websocket-driver (0.7.3)
157
155
  websocket-extensions (>= 0.1.0)
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 6.1.0"
6
+ gem "oj"
7
+
8
+ gemspec path: "../"
@@ -10,7 +10,7 @@ module Viu
10
10
 
11
11
  module ActionControllerHelpers
12
12
  def render_view(view, options = EMPTY_HASH)
13
- self.response_body = view.render_in(view_context, options)
13
+ render(html: view.render_in(view_context, options))
14
14
  end
15
15
  end
16
16
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Viu
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: viu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ralf Schmitz Bongiolo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-01 00:00:00.000000000 Z
11
+ date: 2020-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -130,6 +130,7 @@ files:
130
130
  - gemfiles/.bundle/config
131
131
  - gemfiles/rails_5_2.gemfile
132
132
  - gemfiles/rails_6_0.gemfile
133
+ - gemfiles/rails_6_1.gemfile
133
134
  - lib/viu.rb
134
135
  - lib/viu/html.rb
135
136
  - lib/viu/json.rb