jefferies_tube 1.7.0 → 1.7.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: 9b954b507f543672fed15f35bc2c90fdf38a0cab939516521919ad9b0f1145ff
4
- data.tar.gz: b8acd566ae45ff58d9ca5f9c341b3ead6e521c17b39359473939a99367ad4b4a
3
+ metadata.gz: 791bdc5af6fee6a4346a7dce621fb79721769bf4301ed74af578da40f51252e3
4
+ data.tar.gz: b2e0d0d8663ed323cb2905d017cfc47b90a7703f64a49fd68082b4700decfb6d
5
5
  SHA512:
6
- metadata.gz: 6678e4fe4e824a4590588325714bef13796507a3a647497c77dad30c920a78bab8e694788a1c8c188508f76f78af1776dac768e8acc53b625ac4e60d0ae22b99
7
- data.tar.gz: ecf906c5839b54a9621bcc66b742b49032a5ca8413627a412df71aa0aca58bc61f40264341367b3350e7a0dfd3b02519f2d457a5a81201e6061cccc77b577d92
6
+ metadata.gz: 995e0058319ed25823e9ee215483c9f794dd3d5da8c5d605cd1046d719011e9d5090ee1a832cc2319959ceb19795266c65550c0b28ece6adb037839b973bc532
7
+ data.tar.gz: 21de2d325f17383ba7759b341d72125d2dfa960cfeddd80982aad477e7b84fa2ef1a4a1bc9159601f7ad3e03cfc8a605aa7f30e3d85ae0530585643cdd6a069e
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ This project attempts to follow [semantic versioning](https://semver.org/)
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.7.1
10
+ * Bugfix: change `exists?` to `exist?` and check for `existing_spec_helper` file
11
+ * Update robocop rules
12
+
9
13
  ## 1.7.0
10
14
  * Sync static_assets as part of upload_assets_to_s3
11
15
 
data/default.yml CHANGED
@@ -21,6 +21,16 @@ Layout/EmptyLinesAroundBlockBody:
21
21
  Enabled: true
22
22
  Layout/IndentationConsistency:
23
23
  Enabled: true
24
+ Layout/BlockAlignment:
25
+ Enabled: true
26
+ Layout/ArgumentAlignment:
27
+ Enabled: true
28
+ EnforcedStyle: with_fixed_indentation
29
+ Layout/FirstHashElementIndentation:
30
+ Enabled: true
31
+ EnforcedStyle: consistent
32
+ Layout/HashAlignment:
33
+ Enabled: true
24
34
 
25
35
  Rails/HasManyOrHasOneDependent:
26
36
  Enabled: true
@@ -32,7 +32,7 @@ module JefferiesTube
32
32
  end
33
33
 
34
34
  initializer "jefferies_tube.add_maintenance_middleware" do |config|
35
- if File.exists? "tmp/maintenance.txt"
35
+ if File.exist? "tmp/maintenance.txt"
36
36
  require 'jefferies_tube/rack/maintenance'
37
37
  config.middleware.use 'JefferiesTube::Rack::Maintenance'
38
38
  end
@@ -45,7 +45,7 @@ module JefferiesTube
45
45
  end
46
46
 
47
47
  initializer "fix spring + figaro" do |config|
48
- if defined?(Spring) && File.exists?("config/application.yml")
48
+ if defined?(Spring) && File.exist?("config/application.yml")
49
49
  require 'spring/watcher'
50
50
  Spring.watch "config/application.yml"
51
51
  end
@@ -78,7 +78,7 @@ module JefferiesTube
78
78
 
79
79
  initializer 'load simplecov for tests' do |config|
80
80
  existing_spec_helper = File.join(::Rails.root.join "spec", "spec_helper.rb" )
81
- if !(File.open(existing_spec_helper, &:readline) == "ENV['JT_RSPEC'] = 'true'\n")
81
+ if File.exist?(existing_spec_helper) && !(File.open(existing_spec_helper, &:readline) == "ENV['JT_RSPEC'] = 'true'\n")
82
82
  content = File.read(existing_spec_helper)
83
83
  File.open(existing_spec_helper, "w") do |line|
84
84
  line.puts "ENV['JT_RSPEC'] = 'true'"
@@ -1,7 +1,7 @@
1
1
  require 'open-uri'
2
2
 
3
3
  module JefferiesTube
4
- VERSION = "1.7.0"
4
+ VERSION = "1.7.1"
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,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jefferies_tube
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-31 00:00:00.000000000 Z
11
+ date: 2024-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print