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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 022ec3631f356bb5d1671c49dc061a4068112065d72296769e48f83fc8a6b71e
4
- data.tar.gz: e6a47b8643ca49094aa9c72fc1378b8f6549f692d924fa14a4d8b46afee7e3c6
3
+ metadata.gz: 61d5aace285ed0155d9605d95430d938b1ca6a6597cb3c0715420d1316ba2f3b
4
+ data.tar.gz: 6499c89082327d6607eaa738b59dc6a89bb7a11fc43f14bd31d19ccc5d29cf35
5
5
  SHA512:
6
- metadata.gz: dd121aab8734916739e92908591383a049def424bb44f0c177d1ef11037abf0c0d659f0b5a0fa057ff051cfec8fe50767e40cfb4bca3c725d894656eb7744a6e
7
- data.tar.gz: 7c4f23e4a48c2ed413deccc9b6e57c265e22eae1d0fb4382331a923103a315f9fdef676b63aef7e21bcbe41126c8114e4cc9067fdf6476a6e434feedb953dce5
6
+ metadata.gz: 1f07356e922ef0f9464eab200ac8c679db0029af7da5046ffeec1cacfc27d0b4786e85228ad347b193699e40d8b524c7953d1a8ed120e829c72a7eeba14c3076
7
+ data.tar.gz: 9f8b543537bbb38791b7f9929cc1b8e0a78049871426e71e08e9971f365d87a52f10088ef7481110ea860ffbf5866a0ed9933cf149133f48604fc76df24f2b62
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.0.2
4
+
5
+ * Relax Ruby version requirement to allow Ruby 3.0
6
+
3
7
  ### 1.0.1
4
8
 
5
9
  * Allow client-only mode by not passing any server-side context
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2017 Jan Lelis, https://janlelis.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # RenderReact [![[version]](https://badge.fury.io/rb/render_react.svg)](http://badge.fury.io/rb/render_react) [![[travis]](https://travis-ci.org/janlelis/render_react.svg)](https://travis-ci.org/janlelis/render_react)
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 <http://janlelis.com>. Released under the MIT license.
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 specs
31
+ # Run Specs
32
32
 
33
33
  desc "#{gemspec.name} | Spec"
34
34
  task :spec do
35
- sh "for file in spec/*_spec.rb; do ruby $file; done"
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
 
@@ -1,4 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RenderReact
2
- VERSION = "1.0.1".freeze
4
+ VERSION = "1.0.2"
3
5
  end
4
-
@@ -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 = ["mail@janlelis.de"]
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 = "~> 2.0"
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.1
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: 2018-03-31 00:00:00.000000000 Z
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
- - mail@janlelis.de
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
- rubyforge_project:
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
@@ -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