style-script 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/style-script.rb CHANGED
@@ -10,7 +10,7 @@ require "style_script/parse_error"
10
10
  # Namespace for all StyleScript internal classes.
11
11
  module StyleScript
12
12
 
13
- VERSION = '1.0.0' # Keep in sync with the gemspec.
13
+ VERSION = '1.0.1' # Keep in sync with the gemspec.
14
14
 
15
15
  # Compile a script (String or IO) to JavaScript.
16
16
  def self.compile(script, options={})
@@ -161,12 +161,6 @@ Usage:
161
161
  File.join(dir, filename)
162
162
  end
163
163
 
164
- # Install the StyleScript TextMate bundle to ~/Library.
165
- def install_bundle
166
- bundle_dir = File.expand_path('~/Library/Application Support/TextMate/Bundles/')
167
- FileUtils.cp_r("#{ROOT}/extras/StyleScript.tmbundle", bundle_dir)
168
- end
169
-
170
164
  # Use OptionParser for all the options.
171
165
  def parse_options
172
166
  @options = {:runner => :node}
@@ -208,10 +202,6 @@ Usage:
208
202
  opts.on_tail('--std', 'use STD instead of Node.js') do |n|
209
203
  @options[:runner] = :std
210
204
  end
211
- opts.on_tail('--install-bundle', 'install the StyleScript TextMate bundle') do |i|
212
- install_bundle
213
- exit
214
- end
215
205
  opts.on_tail('--version', 'display StyleScript version') do
216
206
  puts "StyleScript version #{StyleScript::VERSION}"
217
207
  exit
data/package.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "description": "Fancy CoffeeScript",
5
5
  "keywords": ["javascript", "language"],
6
6
  "author": "Danilo Lekovic",
7
- "version": "1.0.0"
7
+ "version": "1.0.1"
8
8
  }
data/style-script.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'style-script'
3
- s.version = '1.0.0' # Keep version in sync with style-script.rb
3
+ s.version = '1.0.1' # Keep version in sync with style-script.rb
4
4
  s.date = '2014-05-10'
5
5
 
6
6
  s.summary = "The StyleScript Compiler"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: style-script
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Danilo Lekovic