render_react 1.0.1 → 1.0.2
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.md +4 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +2 -2
- data/Rakefile +6 -2
- data/lib/render_react/version.rb +3 -2
- data/render_react.gemspec +2 -2
- metadata +5 -7
- data/.travis.yml +0 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61d5aace285ed0155d9605d95430d938b1ca6a6597cb3c0715420d1316ba2f3b
|
|
4
|
+
data.tar.gz: 6499c89082327d6607eaa738b59dc6a89bb7a11fc43f14bd31d19ccc5d29cf35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f07356e922ef0f9464eab200ac8c679db0029af7da5046ffeec1cacfc27d0b4786e85228ad347b193699e40d8b524c7953d1a8ed120e829c72a7eeba14c3076
|
|
7
|
+
data.tar.gz: 9f8b543537bbb38791b7f9929cc1b8e0a78049871426e71e08e9971f365d87a52f10088ef7481110ea860ffbf5866a0ed9933cf149133f48604fc76df24f2b62
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# RenderReact [![[version]](https://badge.fury.io/rb/render_react.svg)](
|
|
1
|
+
# RenderReact [![[version]](https://badge.fury.io/rb/render_react.svg)](https://badge.fury.io/rb/render_react) [![[ci]](https://github.com/janlelis/render_react/workflows/Test/badge.svg)](https://github.com/janlelis/render_react/actions?query=workflow%3ATest)
|
|
2
2
|
|
|
3
3
|
A lo-fi way to render client- and server-side React components from Ruby:
|
|
4
4
|
|
|
@@ -132,6 +132,6 @@ RenderReact.on_server("ExampleComponent") # only static
|
|
|
132
132
|
|
|
133
133
|
## MIT License
|
|
134
134
|
|
|
135
|
-
Copyright (C) 2017 Jan Lelis <
|
|
135
|
+
Copyright (C) 2017 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
|
136
136
|
|
|
137
137
|
React is BSD licensed.
|
data/Rakefile
CHANGED
|
@@ -28,11 +28,15 @@ task :irb do
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
# # #
|
|
31
|
-
# Run
|
|
31
|
+
# Run Specs
|
|
32
32
|
|
|
33
33
|
desc "#{gemspec.name} | Spec"
|
|
34
34
|
task :spec do
|
|
35
|
-
|
|
35
|
+
if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
|
|
36
|
+
sh "for %f in (spec/\*.rb) do ruby spec/%f"
|
|
37
|
+
else
|
|
38
|
+
sh "for file in spec/*.rb; do ruby $file; done"
|
|
39
|
+
end
|
|
36
40
|
end
|
|
37
41
|
task default: :spec
|
|
38
42
|
|
data/lib/render_react/version.rb
CHANGED
data/render_react.gemspec
CHANGED
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
|
|
|
8
8
|
gem.summary = "Lo-fi way of rendering React components"
|
|
9
9
|
gem.description = "Lo-fi way of rendering React components."
|
|
10
10
|
gem.authors = ["Jan Lelis"]
|
|
11
|
-
gem.email = ["
|
|
11
|
+
gem.email = ["hi@ruby.consulting"]
|
|
12
12
|
gem.homepage = "https://github.com/janlelis/render_react"
|
|
13
13
|
gem.license = "MIT"
|
|
14
14
|
|
|
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
18
18
|
gem.require_paths = ["lib"]
|
|
19
19
|
|
|
20
|
-
gem.required_ruby_version = "
|
|
20
|
+
gem.required_ruby_version = ">= 2.0"
|
|
21
21
|
gem.add_dependency "execjs", "~> 2.7"
|
|
22
22
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: render_react
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Lelis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: execjs
|
|
@@ -26,13 +26,12 @@ dependencies:
|
|
|
26
26
|
version: '2.7'
|
|
27
27
|
description: Lo-fi way of rendering React components.
|
|
28
28
|
email:
|
|
29
|
-
-
|
|
29
|
+
- hi@ruby.consulting
|
|
30
30
|
executables: []
|
|
31
31
|
extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
|
33
33
|
files:
|
|
34
34
|
- ".gitignore"
|
|
35
|
-
- ".travis.yml"
|
|
36
35
|
- CHANGELOG.md
|
|
37
36
|
- CODE_OF_CONDUCT.md
|
|
38
37
|
- Gemfile
|
|
@@ -54,7 +53,7 @@ require_paths:
|
|
|
54
53
|
- lib
|
|
55
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
56
55
|
requirements:
|
|
57
|
-
- - "
|
|
56
|
+
- - ">="
|
|
58
57
|
- !ruby/object:Gem::Version
|
|
59
58
|
version: '2.0'
|
|
60
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
@@ -63,8 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
63
62
|
- !ruby/object:Gem::Version
|
|
64
63
|
version: '0'
|
|
65
64
|
requirements: []
|
|
66
|
-
|
|
67
|
-
rubygems_version: 2.7.3
|
|
65
|
+
rubygems_version: 3.2.4
|
|
68
66
|
signing_key:
|
|
69
67
|
specification_version: 4
|
|
70
68
|
summary: Lo-fi way of rendering React components
|
data/.travis.yml
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
sudo: false
|
|
2
|
-
language: ruby
|
|
3
|
-
|
|
4
|
-
rvm:
|
|
5
|
-
- ruby-head
|
|
6
|
-
- 2.5.1
|
|
7
|
-
- 2.4.4
|
|
8
|
-
- 2.3.7
|
|
9
|
-
- 2.2
|
|
10
|
-
- 2.1
|
|
11
|
-
- 2.0
|
|
12
|
-
- jruby-head
|
|
13
|
-
- jruby-9.1.16.0
|
|
14
|
-
|
|
15
|
-
matrix:
|
|
16
|
-
allow_failures:
|
|
17
|
-
- rvm: ruby-head
|
|
18
|
-
- rvm: 2.2
|
|
19
|
-
- rvm: 2.1
|
|
20
|
-
- rvm: 2.0
|
|
21
|
-
- rvm: jruby-head
|
|
22
|
-
# fast_finish: true
|