actionview-component 1.0.0 → 1.0.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: 59fec154eafa7bbeab9aa226860751bf57f00d454335865f5c746b562969be03
4
- data.tar.gz: 92a23a067a1c5d03a85935a137f8d1916132a6b6dcc01b86642e12c242a43bf7
3
+ metadata.gz: c48fe5574dd67f62c3552735fc62e4dc324fe21b604e52b7d0bf1b20c0f5a041
4
+ data.tar.gz: e91a31acd0dc6df545ddfb8c0f58beabc401e55937b850830eeac204cecfa66f
5
5
  SHA512:
6
- metadata.gz: 7c2fde6da24f0685ee606278f714bfadeceacdfe4f95e0696840b8c35da32d7e5ebb1fd8b1bdf510fa6b0cbe6eabbd16adef418eb095faf90d6a1b6923cae97a
7
- data.tar.gz: 8afae7c9c555d7c358d039c98160e9b5cc3c882c776936d4a3d8ae5ca15a7bfa66975a86871cb0a1dd1ed538eee321ed3f26a2b9e978b8d391d3a45c18210c8d
6
+ metadata.gz: 359d329d3126da4f07b655da1f057a2bf9920534039fa7767d2f8d208bd7e535cd6de6fda3ef0a63c5976f6a4c81aabc2515db121ea3b6370572b3543adc3c41
7
+ data.tar.gz: c141f0bd9c595bf6bdb7079b91dd193af8483d5c74fd29ab4ab94cc9b444ea76a1f19ae625d1be3395c19bade5f39b650d03db318539b3eea13a97aa989863ca
data/CONTRIBUTING.md CHANGED
@@ -45,7 +45,6 @@ If you are the current maintainer of this gem:
45
45
  1. Merge github/actionview-component PR
46
46
  1. Tag and push: `git tag vx.xx.xx; git push --tags`
47
47
  1. Create a GitHub release with the pushed tag (https://github.com/github/actionview-component/releases/new) and populate it with a list of the commits from `git log --pretty=format:"- %s" --reverse refs/tags/[OLD TAG]...refs/tags/[NEW TAG]`
48
- 1. Push to rubygems.pkg.github.com -- `gem push --key github --host https://rubygems.pkg.github.com/github actionview-component-VERSION.gem`. See [Configuring RubyGems for use with GitHub Package Registry][gpr] for more details.
49
48
  1. Push to rubygems.org -- `gem push actionview-component-VERSION.gem`
50
49
 
51
50
  ## Resources
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- actionview-component (0.2.0)
4
+ actionview-component (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -74,7 +74,7 @@ GEM
74
74
  mini_portile2 (2.4.0)
75
75
  minitest (5.11.3)
76
76
  nio4r (2.4.0)
77
- nokogiri (1.10.3)
77
+ nokogiri (1.10.4)
78
78
  mini_portile2 (~> 2.4.0)
79
79
  parallel (1.17.0)
80
80
  parser (2.6.3.0)
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = "actionview-component"
9
- spec.version = "1.0.0"
9
+ spec.version = "1.0.1"
10
10
  spec.authors = ["GitHub Open Source"]
11
11
  spec.email = ["opensource+actionview-component@github.com"]
12
12
 
@@ -67,7 +67,7 @@ module ActionView
67
67
  # We could in theory do this on app boot, at least in production environments.
68
68
  # Right now this just compiles the template the first time the component is rendered.
69
69
  def compile
70
- return if @compiled
70
+ return if @compiled && ActionView::Base.cache_template_loading
71
71
 
72
72
  class_eval("def call; @output_buffer = ActionView::OutputBuffer.new; #{compiled_template}; end")
73
73
 
@@ -100,7 +100,7 @@ module ActionView
100
100
 
101
101
  if sibling_files.length == 0
102
102
  raise NotImplementedError.new(
103
- "Could not find a template for #{self}. Either define a .template method or add a sidecar template file."
103
+ "Could not find a template file for #{self}."
104
104
  )
105
105
  end
106
106
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionview-component
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Open Source
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-20 00:00:00.000000000 Z
11
+ date: 2019-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler