chris_lib 2.1.2 → 2.1.5

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: 4abcd1a7526420ec2cb67d2fdbf81f7a7f0750d6c2df3e460a2ebedfd58e3706
4
- data.tar.gz: fa4d28d7b16f895b135caaf7431a4045916484803758c14d02683c090cc20cb8
3
+ metadata.gz: 7363625277366892ac34f44a540f73133d39fc751ed3c8fc3d3db1aebd20d7c4
4
+ data.tar.gz: 8202573cdead99159f47d5aee188db142e829823a90e807c997136e47382556e
5
5
  SHA512:
6
- metadata.gz: d40d0ca93264ab1606253d022524814c138ca23c48e5db3757afcc2553ee104201cb9c462382d770b226e978a473f2d66e741c9bc1846e4419f824615f7e9b06
7
- data.tar.gz: 4b3f8bf8830cba172d6e71d7f2ac2555d8a77c1c04708e9483ee7fe747a4fee174a0309357df96c207c3c57dccafb261b46e8635fa2422ef4e00be571c6877db
6
+ metadata.gz: 3b46ee10594ed14c5cd577e37286b1876817794351ea470111116ecd50a6b886ad859d5b9ce80c53814d385d9cf2339ae1f2c1bb8fb69e0d6cdc1ab013527907
7
+ data.tar.gz: ab3b1c7ad8fbf2c835336522b69a3c3d94cf7801825fe6484adedaf791cd1c8e6855a081b8b6e3dc6c76fecf373efcd993548a263c55cd6aa2e3e0f19cb80c7d
@@ -76,24 +76,6 @@ module ShellMethods
76
76
  system('heroku run rake util:warn_under_maintenance --remote production')
77
77
  end
78
78
 
79
- def precompile_assets(target: 'local')
80
- puts "Precompiling assets for #{target}"
81
- if target == 'local'
82
- asset_host = ENV['RAILS_HOST_PATH']
83
- elsif target == 'staging'
84
- asset_host = 'cstaging-golf.herokuapp.com'
85
- elsif target == 'production'
86
- asset_host = 'www.thegolfmentor.com'
87
- else
88
- raise "Invalid target for precompile: #{target}"
89
- end
90
- puts "precompile asset_host is #{asset_host}"
91
- system("RAILS_ENV=production RAILS_HOST_PATH=#{asset_host} rake assets:precompile")
92
- `git add .`
93
- commit_msg = "Add precompiled assets for #{target}"
94
- system(%[git commit -m "#{commit_msg}"])
95
- end
96
-
97
79
  def time_hash
98
80
  time = Time.now
99
81
  time.day.to_s + time.month.to_s + time.year.to_s + '-' + time.hour.to_s + time.min.to_s
@@ -1,3 +1,3 @@
1
1
  module ChrisLib
2
- VERSION = '2.1.2'
2
+ VERSION = '2.1.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chris_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv