froxy 0.1.1 → 0.1.2

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: 12d6e3b3f546f7f29cffb9bcb9c860e9a50a2f1866b44725c34121eb7ce1f9e4
4
- data.tar.gz: 98f692f348fa63de27fb6f154648301d4221933c23679347cc9c55ec88ae1651
3
+ metadata.gz: ea2d91815589713a9c355fe514e3a47c3d7fb3b3d2e3d896749363ea172c9f5f
4
+ data.tar.gz: 63b66d8cc02a6257ccb98fb750732d555b6b0044bfd38a867c70b13aa4ee4cab
5
5
  SHA512:
6
- metadata.gz: 2e9f27f9374f4f16bf59b79a468f52940330a6995c0cb7a8acffc1ea40c60554905af1bc3fe540451b101b56ffdaaa24f8a310995d225b55980d07707dd2d6d6
7
- data.tar.gz: 926b281a7af9e4a4860c9ba443fd103d4a05e440f827adb56c7aad35b8208826dcea844090ef6c8224b752b55824ada82e73bbaafb311b7a851322a59b19dcf7
6
+ metadata.gz: 744903b02aea11cc67710d81b5798c6a269db6784b0790a4ee7386f9b20b53869ef84c3e64ba3d097af1775c91d07380d08cf31516cc2869ed5eae41f4292a4a
7
+ data.tar.gz: 8144a07ff8f146585e3e6fc71fed1da287ea155590158dc8e2dc9519a06d61708e115fc9dde7e0f135a18f3960638d126acb2dfae9b95ca2a06985b0db75781d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- froxy (0.1.0)
4
+ froxy (0.1.1)
5
5
  activesupport (>= 5.0.0, < 7.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -52,6 +52,10 @@ Or install it yourself as:
52
52
 
53
53
  $ gem install froxy
54
54
 
55
+ Now assuming you have a `package.json` in your Rails root, install [esbuild](https://esbuild.github.io):
56
+
57
+ $ yarn add esbuild
58
+
55
59
  ## Usage
56
60
 
57
61
  ### Javascript
data/bin/froxy CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const esbuild = require('esbuild')
3
+ const esbuild = require(require.resolve('esbuild', { paths: [process.cwd()] }))
4
4
 
5
5
  const [, , absWorkingDir, entryPoint] = process.argv
6
6
 
@@ -1,6 +1,6 @@
1
1
  const path = require('path')
2
2
  const fs = require('fs')
3
- const esbuild = require('esbuild')
3
+ const esbuild = require(require.resolve('esbuild', { paths: [process.cwd()] }))
4
4
 
5
5
  // Resolve the given path (`p`) to an absolute path.
6
6
  const resolve = (absWorkingDir, b, p, options = {}) => {
data/lib/froxy/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Froxy
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
data/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "singleQuote": true,
9
9
  "arrowParens": "avoid"
10
10
  },
11
- "dependencies": {
12
- "esbuild": "^0.8.1"
11
+ "devDependencies": {
12
+ "esbuild": "0.8.50"
13
13
  }
14
14
  }
data/yarn.lock CHANGED
@@ -2,7 +2,7 @@
2
2
  # yarn lockfile v1
3
3
 
4
4
 
5
- esbuild@^0.8.1:
5
+ esbuild@0.8.50:
6
6
  version "0.8.50"
7
7
  resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.8.50.tgz#ebf24fde0cdad1a369789dd6fd7a820b0a01e46c"
8
8
  integrity sha512-oidFLXssA7IccYzkqLVZSqNJDwDq8Mh/vqvrW+3fPWM7iUiC5O2bCllhnO8+K9LlyL/2Z6n+WwRJAz9fqSIVRg==
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: froxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Moss