lyp 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: f42faeca80592cbc261208384e53d7205bcfa058
4
- data.tar.gz: d4e7574bda07418c782076aad5c01c8b7f0f6008
3
+ metadata.gz: 5f4c3096919de344328ca239c4c6b2a779a292d6
4
+ data.tar.gz: 1ba4797c5d48dc6fb6643f6860d152580e922c4b
5
5
  SHA512:
6
- metadata.gz: 9cc74befb159bc7d74d0059137c506bdc7fb5720b8ac74f113b5e8ae7cdc1a3e40218d45b5ebb841d0ee59dd78aa9a51ba9b00aacadaa5600484606bc963dcc3
7
- data.tar.gz: b7eaf8be84f505f8dc242d91b45f3bc6a1d8b74fec5756f0f67a2d79c2dfefbf77401fed49e923d6e9059c02053c4ffab5b01d413ca108bca555e239625c4079
6
+ metadata.gz: 6a1d79624bd39b291ef44d5fe7c1e08b9cffbd71a1dd5e7f5dedf37b05f2ad11eba83910bb93dcaaf877633a02dd12da7f9dbfd388ff2eee5465d8735e4fffae
7
+ data.tar.gz: 183a7c869054c9d4c03ff73ec4f61056c6cfdf496542fe09aeb94b7012b0cdb084620e9c22f4e3405f99884827bdf04da35847fefadfe63842c338fd79b31366
@@ -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
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