jets 1.4.1 → 1.4.2

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: 489544f3af230a57a1f1bbeadae001f8ae967aaf9323c165945b11e7a985d36c
4
- data.tar.gz: 7613d5cc1452fff7d036488d6fd4dc7d61e8b81aadd3b70f8110a27d29b74424
3
+ metadata.gz: 2da53de9bc1b25884e71b48341b06a1730e948d64dd498a8447b0007c351e6ff
4
+ data.tar.gz: 1946239ac14061a49427551c34e194050edeff8fa5a3ccc67679b6d5f9790ce5
5
5
  SHA512:
6
- metadata.gz: 95949b8c93a2ed42d503be2fb602c56b464d085ef11cf0c127fc50e7346a86509a09340daf8d298cc2381c7e3a731d47ca3e170e690455a217db4fb30b77c52b
7
- data.tar.gz: 102d6bc2d9cb2fe4f2d78fbfdeecf999635ce04f6bedb3ca2e8f7f7f5674fdaaec704825d97890c5f58a4a6c83164f595d242f5f602fb5435d8d003510ef50d5
6
+ metadata.gz: d1c4b44501539f490fc51a223847863adc24882e990b8ed600b07ae520326ea80b2adf169f4b65e452545cc1fbf59da3c7d6f010c6891902d8e383fb6e7c7630
7
+ data.tar.gz: 97912bfac0e5fb6a1176439f9d36745f8278104fec34874f0d53468c3f0d8452bd9c8bfe90e9002abe451d42b33c381d98a9d7517e970ff20bcc17067d0c4d81
@@ -3,7 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [1.4.2]
7
+ - fix webpacker:compile on jets build
8
+
6
9
  ## [1.4.1]
10
+ - allow jets url to run in afterburner mode
11
+ - #111 from tongueroo/db-seed fix jets db:seed
12
+ - #112 from tongueroo/jets-project-name fix JETS_ENV=production jets deploy
13
+ - allow JETS_PROJECT_NAME override
7
14
 
8
15
  ## [1.4.0]
9
16
  - Afterburner mode: Allows you to deploy from within a Rails app
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- jets (1.4.1)
14
+ jets (1.4.2)
15
15
  actionpack (>= 5.2.1)
16
16
  actionview (>= 5.2.1)
17
17
  activerecord (>= 5.2.1)
@@ -1,9 +1,10 @@
1
+ require "action_view"
2
+ require "bundler"
3
+ require "colorize"
1
4
  require "fileutils"
5
+ require "net/http"
2
6
  require "open-uri"
3
- require "colorize"
4
7
  require "socket"
5
- require "net/http"
6
- require "action_view"
7
8
 
8
9
  # Some important folders to help understand how jets builds a project:
9
10
  #
@@ -178,6 +179,7 @@ class Jets::Builders
178
179
 
179
180
  headline "Compling assets in current project directory"
180
181
  # Thanks: https://stackoverflow.com/questions/4195735/get-list-of-gems-being-used-by-a-bundler-project
182
+ require "bundler/setup"
181
183
  webpacker_loaded = Gem.loaded_specs.keys.include?("webpacker")
182
184
  return unless webpacker_loaded
183
185
 
@@ -185,7 +187,7 @@ class Jets::Builders
185
187
  webpack_command = File.exist?("#{Jets.root}bin/webpack") ?
186
188
  "bin/webpack" :
187
189
  `which webpack`.strip
188
- sh("JETS_ENV=#{Jets.env} #{webpack_command}")
190
+ sh "JETS_ENV=#{Jets.env} #{webpack_command}"
189
191
  end
190
192
 
191
193
  # This happens in the current app directory not the tmp code for simplicity
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-22 00:00:00.000000000 Z
11
+ date: 2018-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack