render_build_setup 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c48416f5edd417303c091fe28d597b8c9c5df783b1396a134bafc8a8ee2049f3
4
+ data.tar.gz: fcaac0988743536a2dc17314bce86c6a62fb9682469d018a87a172a04dbb4437
5
+ SHA512:
6
+ metadata.gz: 93b5eb4ce35c2f2c90231e9ec8d98664509867b5054c52e7b0ca2be7fef2583d1987efe91819b54446681f5613b21cb868bdef596dd4a9acb018a6c26469b777
7
+ data.tar.gz: ec05a85f3c0d3d1b6d13a3170d4ec4ce205b79c37a979544ea7fca3775696201e024675d9776e8ee0e1bc5e40256ca93824abe8b08547e3e18caec544806024e
data/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # render-build-setup-gem
2
+
3
+ Adds a generator to create the build file needed for Render deploys
4
+ to use add to gemfile with
5
+ `bundle add render_build_setup`
6
+ Than run the install generator
7
+ `rails g render_build_setup:install`
@@ -0,0 +1,11 @@
1
+ require 'rails/generators/base'
2
+
3
+ class RenderBuildSetupGenerator < Rails::Generators::Base
4
+ source_root File.expand_path('templates', __dir__)
5
+ desc "This generator creates the build file at bin/render-build.sh"
6
+
7
+ def install
8
+ template 'render-build.sh', 'bin/render-build.sh'
9
+ chmod 'bin/render-build.sh', 0755
10
+ end
11
+ end
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env bash
2
+ # exit on error
3
+ set -o errexit
4
+
5
+ bundle install
6
+ ./bin/rails assets:precompile
7
+ ./bin/rails assets:clean
metadata ADDED
@@ -0,0 +1,87 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: render_build_setup
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Enoch Tamulonis
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '6.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '6.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.20.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 0.20.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '6.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '6.0'
55
+ description: Creates the build file needed for deploying to Render
56
+ email: wavclouds@gmail.com
57
+ executables: []
58
+ extensions: []
59
+ extra_rdoc_files: []
60
+ files:
61
+ - README.md
62
+ - lib/generators/render_build_setup_generator.rb
63
+ - lib/generators/templates/render-build.sh
64
+ homepage: https://rubygems.org/gems/render_build_setup
65
+ licenses:
66
+ - MIT
67
+ metadata: {}
68
+ post_install_message:
69
+ rdoc_options: []
70
+ require_paths:
71
+ - lib
72
+ required_ruby_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirements: []
83
+ rubygems_version: 3.4.10
84
+ signing_key:
85
+ specification_version: 4
86
+ summary: Generate build file for Render deploys
87
+ test_files: []