jefferies_tube 1.7.1 → 1.7.3

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
  SHA256:
3
- metadata.gz: 791bdc5af6fee6a4346a7dce621fb79721769bf4301ed74af578da40f51252e3
4
- data.tar.gz: b2e0d0d8663ed323cb2905d017cfc47b90a7703f64a49fd68082b4700decfb6d
3
+ metadata.gz: 607fb4bf2cbbaf4461a6593a7e55d609ef5bd2c5a77399f24b45346859d176dc
4
+ data.tar.gz: 665cb2f1ea6b14540414fcc3987fadae40848c9712b0a0149b33e1d5f7f5efd3
5
5
  SHA512:
6
- metadata.gz: 995e0058319ed25823e9ee215483c9f794dd3d5da8c5d605cd1046d719011e9d5090ee1a832cc2319959ceb19795266c65550c0b28ece6adb037839b973bc532
7
- data.tar.gz: 21de2d325f17383ba7759b341d72125d2dfa960cfeddd80982aad477e7b84fa2ef1a4a1bc9159601f7ad3e03cfc8a605aa7f30e3d85ae0530585643cdd6a069e
6
+ metadata.gz: 177f6a4b2ab6c41c2774ca9e695e4a839f460075274acebb9602ece9e71589b31916b2de82c15c2f18a400ef478be784d39a06f0b0d8317dbad38aa3a0d39a35
7
+ data.tar.gz: '09f47ef7d00ca7f9af10892354e190e173d73c2802a6056dfce96f73a9e4cf192a5273e64dc18f533c5d395859eb298d8e20eb7bce20f3ad4858a81a5512acb4'
data/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ This project attempts to follow [semantic versioning](https://semver.org/)
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.7.3
10
+ * Bugfix: change `exists?` to `exist?` in `s3_assets.rb`
11
+
12
+ ## 1.7.2
13
+ * Bugfix: update 404 and 500 pages to have .html.erb variants, not just .haml
14
+
9
15
  ## 1.7.1
10
16
  * Bugfix: change `exists?` to `exist?` and check for `existing_spec_helper` file
11
17
  * Update robocop rules
@@ -0,0 +1,15 @@
1
+ <html>
2
+ <head>
3
+ <title>404: <%= request.fullpath %></title>
4
+ <style>
5
+ #jt-error {
6
+ margin: 32px auto; padding: 32px;
7
+ }
8
+ </style>
9
+ </head>
10
+ <body>
11
+ <div id="jt-error">
12
+ <p>Sorry! We couldn't find the page you were looking for :(</p>
13
+ </div>
14
+ </body>
15
+ </html>
@@ -0,0 +1,16 @@
1
+ <html>
2
+ <head>
3
+ <title>500: <%= request.fullpath %></title>
4
+ <style>
5
+ #jt-error {
6
+ margin: 32px auto; padding: 32px;
7
+ }
8
+ </style>
9
+ </head>
10
+ <body>
11
+ <div id="jt-error">
12
+ <p>Sorry! Something went wrong with our server. Our development team has been notified.</p>
13
+ <p><%= "Error Code: 500 (#{@exception.class.name})" %></p>
14
+ </div>
15
+ </body>
16
+ </html>
@@ -4,10 +4,10 @@ task :upload_assets_to_s3 do
4
4
  appyml_text = capture :cat, "#{deploy_to}/shared/config/application.yml"
5
5
  appyml = YAML.load appyml_text
6
6
  execute "AWS_ACCESS_KEY_ID=#{appyml['AWS_ACCESS_KEY_ID']}", "AWS_SECRET_ACCESS_KEY=#{appyml["AWS_SECRET_ACCESS_KEY"]}", 'aws', 's3', 'sync', 'public/assets/', "#{fetch(:s3_destination)}/assets"
7
- if Dir.exists?('public/static_assets')
7
+ if Dir.exist?('public/static_assets')
8
8
  execute "AWS_ACCESS_KEY_ID=#{appyml['AWS_ACCESS_KEY_ID']}", "AWS_SECRET_ACCESS_KEY=#{appyml["AWS_SECRET_ACCESS_KEY"]}", 'aws', 's3', 'sync', 'public/static_assets/', "#{fetch(:s3_destination)}/static_assets"
9
9
  end
10
- if Dir.exists?('public/packs')
10
+ if Dir.exist?('public/packs')
11
11
  execute "AWS_ACCESS_KEY_ID=#{appyml['AWS_ACCESS_KEY_ID']}", "AWS_SECRET_ACCESS_KEY=#{appyml["AWS_SECRET_ACCESS_KEY"]}", 'aws', 's3', 'sync', 'public/packs/', "#{fetch(:s3_destination)}/packs"
12
12
  end
13
13
  end
@@ -28,7 +28,7 @@ task :copy_assets_manifest do
28
28
  manifest_name = capture(:ls, assets_path.join('.sprockets-manifest*')).strip
29
29
  manifest_contents = download! assets_path.join(manifest_name)
30
30
  within release_path do
31
- webpack_enabled = Dir.exists?('public/packs')
31
+ webpack_enabled = Dir.exist?('public/packs')
32
32
  end
33
33
  if webpack_enabled
34
34
  packs_manifest_name = capture(:ls, packs_path.join('manifest.json')).strip
@@ -1,7 +1,7 @@
1
1
  require 'open-uri'
2
2
 
3
3
  module JefferiesTube
4
- VERSION = "1.7.1"
4
+ VERSION = "1.7.3"
5
5
 
6
6
  def self.latest_rubygems_version
7
7
  JSON.parse(URI.parse("https://rubygems.org/api/v1/versions/jefferies_tube/latest.json").read)["version"]
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jefferies_tube
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-11 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: awesome_print
@@ -170,10 +169,12 @@ files:
170
169
  - app/assets/stylesheets/meyer_reset.css
171
170
  - app/controllers/jefferies_tube/errors_controller.rb
172
171
  - app/helpers/jefferies_tube/application_helper.rb
172
+ - app/views/errors/404.html.erb
173
173
  - app/views/errors/404.html.haml
174
174
  - app/views/errors/404.json.jbuilder
175
175
  - app/views/errors/404.xml
176
176
  - app/views/errors/500.haml
177
+ - app/views/errors/500.html.erb
177
178
  - default.yml
178
179
  - jefferies_tube.gemspec
179
180
  - lib/generators/rails/USAGE
@@ -210,7 +211,6 @@ homepage: https://github.com/tenforwardconsulting/jefferies_tube/
210
211
  licenses:
211
212
  - MIT
212
213
  metadata: {}
213
- post_install_message:
214
214
  rdoc_options: []
215
215
  require_paths:
216
216
  - lib
@@ -225,8 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  - !ruby/object:Gem::Version
226
226
  version: '0'
227
227
  requirements: []
228
- rubygems_version: 3.5.22
229
- signing_key:
228
+ rubygems_version: 3.6.9
230
229
  specification_version: 4
231
230
  summary: Ten Forward Consulting useful tools.
232
231
  test_files: