lyp-win 0.3.0 → 0.3.1

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
  SHA1:
3
- metadata.gz: c4216c898f07269d33f47f9ff0c7d5bad011614b
4
- data.tar.gz: 1755ffdc43af54a1407762f147105c7efb1710b6
3
+ metadata.gz: 548bf1aec3730d747d797cfff7f947ff3cabd73a
4
+ data.tar.gz: 5ead4fbb024fdca33db526cab5d7651d06302b31
5
5
  SHA512:
6
- metadata.gz: 9589424fd91f83e2d031314a244e93398d7076cbec43d53607a17fc60db0e748f3b9e2cc7c693d4c5ac222714322558a16778e5568c4c70fb7aa2caa28fb3dd0
7
- data.tar.gz: dc3963faed5f6dc407ac57d7885010d51c86573bf6c8334bcd9aeedf5905884ca23dd53c33423478cf07c95a2dea8d4a8d2688c0efcbd96fdc467e25756444a3
6
+ metadata.gz: c5de2eb91046c04e0f6ef983e0356b074a8000b16fd643f2cb8bc4629b3f53c7438eadc84df4ea72c40f4ecff56481baa15732f4ab2237b86e60087390f31f71
7
+ data.tar.gz: 15f41f76805248b92b83da04ce01e36c2100bd533c037016c0dc1f1dfe8fb899eeaeaac88877c20ea1e02d6cf8576c109128e25b2db61d9c5754a744be61c031
@@ -18,7 +18,7 @@ download() {
18
18
  }
19
19
 
20
20
  WORKDIR="/tmp/lyp-release-installer"
21
- LYP_VERSION="0.3.0"
21
+ LYP_VERSION="0.3.1"
22
22
  URL_BASE="https://github.com/noteflakes/lyp/releases/download/v$LYP_VERSION"
23
23
 
24
24
  PLATFORM=`uname -sp`
data/lib/lyp/etc/lyp.ly CHANGED
@@ -1,8 +1,5 @@
1
1
  #(begin
2
2
  (define lyp:path-separator "/")
3
- ;(define lyp:path-separator (list->string (list
4
- ; (if (eq? PLATFORM 'windows) #\\ #\/ ))))
5
-
6
3
  (define (lyp:file-join . ls) (string-join ls lyp:path-separator))
7
4
 
8
5
  ; hash table mapping package refs to package names
data/lib/lyp/lilypond.rb CHANGED
@@ -6,14 +6,16 @@ require 'ruby-progressbar'
6
6
  module Lyp::Lilypond
7
7
  class << self
8
8
  def compile(argv, opts = {})
9
- fn = Lyp.wrap(argv.pop, opts)
10
- argv << fn
9
+ unless argv.last == '-'
10
+ fn = Lyp.wrap(argv.pop, opts)
11
+ argv << fn
12
+ end
11
13
 
12
14
  invoke(argv, opts)
13
15
  end
14
16
 
15
17
  def invoke(argv, opts = {})
16
- lilypond = detect_use_version_argument(argv) || current_lilypond
18
+ lilypond = current_lilypond
17
19
 
18
20
  case opts[:mode]
19
21
  when :system
@@ -23,10 +25,6 @@ module Lyp::Lilypond
23
25
  end
24
26
  end
25
27
 
26
- def detect_use_version_argument(argv)
27
- nil
28
- end
29
-
30
28
  def default_lilypond
31
29
  Lyp::Settings['lilypond/default']
32
30
  end
data/lib/lyp/system.rb CHANGED
@@ -46,7 +46,7 @@ You can uninstall lyp at any time by running 'lyp uninstall self'.
46
46
  EOF
47
47
 
48
48
  def test_installed_status!
49
- unless !is_gem? && installed?
49
+ if !is_gem? && !installed?
50
50
  STDERR.puts INSTALL_MSG
51
51
  end
52
52
  end
data/lib/lyp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lyp
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lyp-win
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sharon Rosner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-03 00:00:00.000000000 Z
11
+ date: 2016-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient