devloop 0.1.3 → 0.1.5

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 +6 -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: ae063498ee83833a07914ab2bbebc3e76c346474c18a6799e4a93e6da183f842
4
+ data.tar.gz: 4eb9746f6ad91f682c30fcf2c2c1e3800535021c0749afa81903e697d8c95405
5
5
  SHA512:
6
- metadata.gz: 3f9a620c03e1a48ca1e22eb247789b75f828f1991215d2abcc9331bb68b496849b69db06c80968fea0dda6b3d8515022576b7e7ce417083a88fd73862e3032a3
7
- data.tar.gz: 0f34eb18349d10c0bf37e08726c1892e56e5d52c70762b7f0405f3839ed3396fda4fbb951a3f1badff3142b2e66734cf2381fa4c4609c13b56002965600fba27
6
+ metadata.gz: 6b1256c623a616b6ecd46d5e7d82894bbde8bdaba8466390090452cd0b0dd2e3e2353cbc581c573dc592bf8da93da1b562c2f703e3a05bf44ecbb6f400498205
7
+ data.tar.gz: 02e708dad1e3d7b10351e5bd83880945a9a3ce3be0a3f5497aa019386bbe3797cd5676a3152ffc543faeb03e3298ccde5ac5db4fbadf7aad9d31ff6292f4c7c8
data/bin/devloop CHANGED
@@ -3,9 +3,15 @@
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
+ exit
13
+ end
14
+
9
15
  system("bundle exec spring > /dev/null 2>&1")
10
16
  is_bundled = `bundle list`.include?("devloop")
11
17
  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.5"
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.5
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