actionview-component 1.14.0 → 1.14.1

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: 20f4f3d429b7cd0741316064cdfd5318a4ccd17f97dbaa00853a2976fc1b8901
4
- data.tar.gz: '086d91730bd9cfa7f75eb3afff4f97d142a1f968b8e5d7d769024c5599e1c22b'
3
+ metadata.gz: 204fb8e9a51fffd39203ff08885333086008e513a8855b36ddbe38a8e42b72ec
4
+ data.tar.gz: e78a99c00889e3516552f4aa1c833be10704c32225ddcd78b713bfbae78d534c
5
5
  SHA512:
6
- metadata.gz: a6c458998089d44a6b3f0daa920c5c3b5e19d73d8e7e7fa13b96c1cc0df8abf9f27a61ea1c43bd840eff4aec0327fad1109cd15996ca84304698d772754d0d85
7
- data.tar.gz: 578b279ca15f8d436676a1f579bfa2ffb32d7cf97a0302668bc9142c89256c4124a653256c6daa9cb0d3a2b368166116e0b0b6427e854e06ca193555ab149bb4
6
+ metadata.gz: 99efaec329aeb3b4ec886eb533ebf73ec28e33931ed65e9fba80111d0403d4703a82616ac1c40bdfdf0708ee8bb60aa5dcabc9218ca0aedd8c74fb60a2ca25a8
7
+ data.tar.gz: 5b85c936cd7daacdf2ab71e96005444a22de2c6ff5af2d07ba412f2a6b28d5f4c828c2a9b92b84adb08816eef10492fa7a82c0c00299415a442b2f68cd7bb4da
@@ -1,5 +1,11 @@
1
1
  # master
2
2
 
3
+ # v1.14.1
4
+
5
+ * Fix bug where generator created invalid test code.
6
+
7
+ *Joel Hawksley*
8
+
3
9
  # v1.14.0
4
10
 
5
11
  * Rename ActionView::Component::Base to ViewComponent::Base
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- actionview-component (1.14.0)
4
+ actionview-component (1.14.1)
5
5
  capybara (>= 3)
6
6
 
7
7
  GEM
@@ -5,7 +5,7 @@ RSpec.describe <%= class_name %>Component, type: :component do
5
5
 
6
6
  # it "renders something useful" do
7
7
  # expect(
8
- # render_inline(described_class, attr: "value") { "Hello, components!" }.css("p").to_html
8
+ # render_inline(described_class.new(attr: "value")) { "Hello, components!" }.css("p").to_html
9
9
  # ).to include(
10
10
  # "Hello, components!"
11
11
  # )
@@ -4,7 +4,7 @@ class <%= class_name %>ComponentTest < ViewComponent::TestCase
4
4
  test "component renders something useful" do
5
5
  # assert_equal(
6
6
  # %(<span title="my title">Hello, components!</span>),
7
- # render_inline(<%= class_name %>Component, attr: "value") { "Hello, components!" }.css("span").to_html
7
+ # render_inline(<%= class_name %>Component.new(attr: "value")) { "Hello, components!" }.css("span").to_html
8
8
  # )
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module ViewComponent
4
4
  module VERSION
5
5
  MAJOR = 1
6
6
  MINOR = 14
7
- PATCH = 0
7
+ PATCH = 1
8
8
 
9
9
  STRING = [MAJOR, MINOR, PATCH].join(".")
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionview-component
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Open Source