smolbars 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb5c650020d40b4cbb2eba845fd599113c44de878d58bb7015b1573248a3dba0
4
- data.tar.gz: 00f4d9f37f81a1c081d1db373eb62819f2b852ea5b7f50b83884381f084ddd44
3
+ metadata.gz: ffed6204efd252089f232757ab1bc4ff88293cf3ee12d03e4ace867e443b8f77
4
+ data.tar.gz: b9f213c71c01d1bb23c90276816b2a5f5e3360d0f93b81ade1757d19bfdebf6e
5
5
  SHA512:
6
- metadata.gz: ba0bb6952537564b7c0d7324f3aef4444ba7c142d478d5d283c617fb0de2aa5aaa26797c6e23a9e76b62efdfce4b77751bf595c4eafa3639aa5776ef55d5f7aa
7
- data.tar.gz: bfd01f873c70f5a71272f4ad55f2a2b20f500a0396028d07d615df7cfe1f614e30ba1ef33e63bd199543b544f88a5078b74e7b4ada199e8d6c66b0e04eff8499
6
+ metadata.gz: df6e4cb8f39d64beadfd49f7113dfa32fd53436eaee9e631b68823ce8c7fdcdf2e2e01dcfb05f6ae1d580e9a7d640867340211f33360a4b1780f3a447399503a
7
+ data.tar.gz: e9a5ba81a5c96092f107d3219695a0145fc1e582f1aacc33e6ff40a1dda1d11cb216f8361baf824dbcba6c91fcf8d7aa5fa774321858a1a5fcaa373caed895d8
data/README.mdown CHANGED
@@ -79,9 +79,19 @@ underlying JS instance
79
79
 
80
80
  rspec spec/
81
81
 
82
+ ### Tests in Docker
83
+
84
+ Building an image:
85
+
86
+ docker compose run --rm app bundle install
87
+
88
+ Running tests:
89
+
90
+ docker compose run --rm app bundle exec rspec spec/
91
+
82
92
 
83
93
  [1]: https://github.com/rubyjs/mini_racer "mini_racer"
84
94
  [2]: https://github.com/wycats/handlebars.js "Handlebars JavaScript templating library"
85
95
  [3]: https://github.com/cowboyd/handlebars.rb "Handlebars Ruby library"
86
96
  [4]: https://github.com/cowboyd/therubyracer "The Ruby Racer"
87
- [5]: https://github.com/combinaut/minibars "Minibars"
97
+ [5]: https://github.com/combinaut/minibars "Minibars"
@@ -17,7 +17,7 @@ module Smolbars
17
17
  }.freeze
18
18
 
19
19
  def initialize(**kwargs)
20
- @js = MiniRacer::Context.new(kwargs)
20
+ @js = MiniRacer::Context.new(**kwargs)
21
21
  @js.load(Handlebars::Source.bundled_path)
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module Smolbars
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smolbars
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Lowell
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-08-22 00:00:00.000000000 Z
12
+ date: 2023-03-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mini_racer
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.1.6
101
+ rubygems_version: 3.4.7
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Ruby bindings for the smolbars.js templating library