devloop 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/devloop +5 -0
  3. data/lib/devloop/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c05521d9743b10962d9a0fb72bdbe848684923192ad72b4dccb5cf577481a93
4
- data.tar.gz: 850d44822f193f71a61f75846bef409b52e5f9782f1b73a083694a18c0c9610a
3
+ metadata.gz: 41dcab2a2c737d831c773f69df17a5b3f940bf3afd17a7b28aa43d0d2babff28
4
+ data.tar.gz: 959cab9d951a675abead4c652b2265140b32536d76bd69beaaf123fd5d06a06e
5
5
  SHA512:
6
- metadata.gz: 3f9a620c03e1a48ca1e22eb247789b75f828f1991215d2abcc9331bb68b496849b69db06c80968fea0dda6b3d8515022576b7e7ce417083a88fd73862e3032a3
7
- data.tar.gz: 0f34eb18349d10c0bf37e08726c1892e56e5d52c70762b7f0405f3839ed3396fda4fbb951a3f1badff3142b2e66734cf2381fa4c4609c13b56002965600fba27
6
+ metadata.gz: 185b68859cb4a1b50f0b532a63922f9ada0cbae2b14cfb0f39c5ae045f10adeac219a15e11bc71a483b91e40b458146c42cd3c53da61b4094506db71a7f488f8
7
+ data.tar.gz: 7d1f59eff8df744568ad744d5812749e543d41ef4156eeb9d87bdc7afa47b84866b16be469aea3fb4dff6140c860690cc7f804966fc8ec7567ab2c2847959323
data/bin/devloop CHANGED
@@ -3,9 +3,14 @@
3
3
  $LOAD_PATH.unshift(File.dirname(__FILE__) + "/../lib") unless $LOAD_PATH.include?(File.dirname(__FILE__) + "/../lib")
4
4
 
5
5
  require "devloop"
6
+ require "devloop/version"
6
7
  require "listen"
7
8
 
8
9
  begin
10
+ if %w[--version -v].include?(ARGV[0])
11
+ puts "Devloop version #{Devloop::VERSION}"
12
+ end
13
+
9
14
  system("bundle exec spring > /dev/null 2>&1")
10
15
  is_bundled = `bundle list`.include?("devloop")
11
16
  run_command = is_bundled ? "bundle exec devloop_run" : "devloop_run"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Devloop
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devloop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-02 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: listen