render_anywhere 0.0.8 → 0.0.9

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
  SHA1:
3
- metadata.gz: 6c58f00f90be15cf9f60d197c6b3c2626f1a608f
4
- data.tar.gz: 872740610e21a74db9e125ce3abd24b0b272574d
3
+ metadata.gz: ba3bc90ad284db7753424a01c8beb51f6d6d4ceb
4
+ data.tar.gz: 65335839bfef80fa259d6dabfc1ce442cf0695ee
5
5
  SHA512:
6
- metadata.gz: 2ddf711993dcace39c1302913733fb13534ce5bc9a4ed58dcaa01f007d53518f517343871b4b69a474a5257298bd5a39d9f12b6a07fd206f6460484473789961
7
- data.tar.gz: e21e7f0684929e71d1532a3e452632547ea4934bb6b1d4207dcdebc97b5415705d55dda02a29a309429efc73319ec69b1e41f14face5e2ac0bfe3a2d868d0aa1
6
+ metadata.gz: 29f012183221054aba41b48c74ce14c4761b620968bac3a46c8a56b9b101dc284acf6364900eb72bbdfdd2fad00ed58aa1ce4d8ea6a9dbec6e989335ba597e6e
7
+ data.tar.gz: 93d4a108833e867bf924e1bfe6cd2ee23e7c556977e65408faa40a64b4b99b4a33a5a41d2b8ed33db62ed62cffdf81b446c1ab59a5e7e91d2313a23cc9f2f40d
data/LICENCE ADDED
@@ -0,0 +1,19 @@
1
+ The MIT License (MIT)
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
@@ -27,7 +27,7 @@ module RenderAnywhere
27
27
  # this is you normal rails application helper
28
28
  self.class.send :helper, ApplicationHelper
29
29
 
30
- lookup_context.view_paths = Rails.root.join('app', 'views')
30
+ lookup_context.view_paths = ApplicationController.view_paths
31
31
  config.javascripts_dir = Rails.root.join('public', 'javascripts')
32
32
  config.stylesheets_dir = Rails.root.join('public', 'stylesheets')
33
33
  config.assets_dir = Rails.root.join('public')
@@ -1,3 +1,3 @@
1
1
  module RenderAnywhere
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -11,6 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.homepage = ""
12
12
  s.summary = %q{Render Rails templates to a string from anywhere.}
13
13
  s.description = %q{Out of the box, Rails will render templates in a controller context only. This gem allows for calling "render" from anywhere: models, background jobs, rake tasks, you name it.}
14
+ s.licenses = ['MIT']
14
15
 
15
16
  s.rubyforge_project = "render_anywhere"
16
17
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: render_anywhere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Melia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-25 00:00:00.000000000 Z
11
+ date: 2014-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -35,6 +35,7 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - .gitignore
37
37
  - Gemfile
38
+ - LICENCE
38
39
  - README.md
39
40
  - Rakefile
40
41
  - lib/render_anywhere.rb
@@ -42,7 +43,8 @@ files:
42
43
  - lib/render_anywhere/version.rb
43
44
  - render_anywhere.gemspec
44
45
  homepage: ''
45
- licenses: []
46
+ licenses:
47
+ - MIT
46
48
  metadata: {}
47
49
  post_install_message:
48
50
  rdoc_options: []
@@ -60,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
62
  version: '0'
61
63
  requirements: []
62
64
  rubyforge_project: render_anywhere
63
- rubygems_version: 2.0.3
65
+ rubygems_version: 2.1.11
64
66
  signing_key:
65
67
  specification_version: 4
66
68
  summary: Render Rails templates to a string from anywhere.