ruby2js 2.0.17 → 2.0.18

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: 01147c8395e6aa07eda7b885a39d15a3830f115a
4
- data.tar.gz: 918a8c73895286430e1a37352a011c9a004e9fc3
3
+ metadata.gz: d6a8536e0ac6c8225fa67af8d2b8d7e61dea03e0
4
+ data.tar.gz: 613628648eba36cd5da7cf87c4abf7fd26ca232a
5
5
  SHA512:
6
- metadata.gz: d03ad763b39d53108620f64402648caa75f34f661afe9bca45902adc27fad34ead5f80393d596c598062a8f98f217a004a94e396e4ec95e490834f0405b6bbfe
7
- data.tar.gz: 97f89ad8895ad1eb79359fdc4dfd8ce4ed46b614a0b9e012e64377c379deff7c097e6de8b1a63e7a45ca43545e746401e51e206c3143109ee4be666a6b2f5ba9
6
+ metadata.gz: c4aaf90a8cfff4aad198efbe8247930c67fc2da306b45f7d11017cad59560de42fd01d93b62284025b37c63e4861096b677eab94de423b890a353e919ef5e9bc
7
+ data.tar.gz: 0f3f72481dfa37aa1fc1c3a17231206b0755dfcd13c35e893459a4cf92e6b07bee435cf67a608e788efd8a60598f151010c987cc6496fb8aafac67152e447e30
data/README.md CHANGED
@@ -129,7 +129,7 @@ includes three such integrations:
129
129
  * [Rails](https://github.com/rubys/ruby2js/blob/master/lib/ruby2js/rails.rb)
130
130
 
131
131
  As you might expect, CGI is a bit sluggish. By contrast, Sinatra and Rails
132
- are quite speedy as the bulk of the time is spend on the initial load of the
132
+ are quite speedy as the bulk of the time is spent on the initial load of the
133
133
  required libraries.
134
134
 
135
135
  Filters
@@ -1,4 +1,12 @@
1
- require 'parser/current'
1
+ begin
2
+ # silence warnings, see
3
+ # https://github.com/bbatsov/rubocop/issues/1819#issuecomment-95280926
4
+ old_verbose, $VERBOSE = $VERBOSE, nil
5
+ require 'parser/current'
6
+ ensure
7
+ $VERBOSE = old_verbose
8
+ end
9
+
2
10
  require 'ruby2js/converter'
3
11
 
4
12
  module Ruby2JS
@@ -1,5 +1,3 @@
1
- require 'parser/current'
2
-
3
1
  require 'ruby2js/serializer'
4
2
 
5
3
  module Ruby2JS
@@ -1,4 +1,3 @@
1
- require 'parser/current'
2
1
  require 'ruby2js/filter/angularrb'
3
2
 
4
3
  module Ruby2JS
@@ -1,4 +1,3 @@
1
- require 'parser/current'
2
1
  require 'ruby2js/filter/angularrb'
3
2
 
4
3
  module Ruby2JS
@@ -1,4 +1,3 @@
1
- require 'parser/current'
2
1
  require 'ruby2js'
3
2
 
4
3
  module Ruby2JS
@@ -2,7 +2,7 @@ module Ruby2JS
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
- TINY = 17
5
+ TINY = 18
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: ruby2js 2.0.17 ruby lib
2
+ # stub: ruby2js 2.0.18 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "ruby2js".freeze
6
- s.version = "2.0.17"
6
+ s.version = "2.0.18"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Sam Ruby".freeze]
11
- s.date = "2017-06-01"
11
+ s.date = "2017-07-29"
12
12
  s.description = " The base package maps Ruby syntax to JavaScript semantics.\n Filters may be provided to add Ruby-specific or framework specific\n behavior.\n".freeze
13
13
  s.email = "rubys@intertwingly.net".freeze
14
14
  s.files = ["README.md".freeze, "lib/ruby2js".freeze, "lib/ruby2js.rb".freeze, "lib/ruby2js/cgi.rb".freeze, "lib/ruby2js/converter".freeze, "lib/ruby2js/converter.rb".freeze, "lib/ruby2js/converter/arg.rb".freeze, "lib/ruby2js/converter/args.rb".freeze, "lib/ruby2js/converter/array.rb".freeze, "lib/ruby2js/converter/begin.rb".freeze, "lib/ruby2js/converter/block.rb".freeze, "lib/ruby2js/converter/blockpass.rb".freeze, "lib/ruby2js/converter/boolean.rb".freeze, "lib/ruby2js/converter/break.rb".freeze, "lib/ruby2js/converter/case.rb".freeze, "lib/ruby2js/converter/casgn.rb".freeze, "lib/ruby2js/converter/class.rb".freeze, "lib/ruby2js/converter/const.rb".freeze, "lib/ruby2js/converter/cvar.rb".freeze, "lib/ruby2js/converter/cvasgn.rb".freeze, "lib/ruby2js/converter/def.rb".freeze, "lib/ruby2js/converter/defined.rb".freeze, "lib/ruby2js/converter/defs.rb".freeze, "lib/ruby2js/converter/dstr.rb".freeze, "lib/ruby2js/converter/for.rb".freeze, "lib/ruby2js/converter/hash.rb".freeze, "lib/ruby2js/converter/if.rb".freeze, "lib/ruby2js/converter/in.rb".freeze, "lib/ruby2js/converter/ivar.rb".freeze, "lib/ruby2js/converter/ivasgn.rb".freeze, "lib/ruby2js/converter/kwbegin.rb".freeze, "lib/ruby2js/converter/literal.rb".freeze, "lib/ruby2js/converter/logical.rb".freeze, "lib/ruby2js/converter/masgn.rb".freeze, "lib/ruby2js/converter/module.rb".freeze, "lib/ruby2js/converter/next.rb".freeze, "lib/ruby2js/converter/nil.rb".freeze, "lib/ruby2js/converter/nthref.rb".freeze, "lib/ruby2js/converter/opasgn.rb".freeze, "lib/ruby2js/converter/prototype.rb".freeze, "lib/ruby2js/converter/regexp.rb".freeze, "lib/ruby2js/converter/return.rb".freeze, "lib/ruby2js/converter/self.rb".freeze, "lib/ruby2js/converter/send.rb".freeze, "lib/ruby2js/converter/super.rb".freeze, "lib/ruby2js/converter/sym.rb".freeze, "lib/ruby2js/converter/undef.rb".freeze, "lib/ruby2js/converter/until.rb".freeze, "lib/ruby2js/converter/untilpost.rb".freeze, "lib/ruby2js/converter/var.rb".freeze, "lib/ruby2js/converter/vasgn.rb".freeze, "lib/ruby2js/converter/while.rb".freeze, "lib/ruby2js/converter/whilepost.rb".freeze, "lib/ruby2js/converter/xstr.rb".freeze, "lib/ruby2js/execjs.rb".freeze, "lib/ruby2js/filter".freeze, "lib/ruby2js/filter/angular-resource.rb".freeze, "lib/ruby2js/filter/angular-route.rb".freeze, "lib/ruby2js/filter/angularrb.rb".freeze, "lib/ruby2js/filter/camelCase.rb".freeze, "lib/ruby2js/filter/functions.rb".freeze, "lib/ruby2js/filter/jquery.rb".freeze, "lib/ruby2js/filter/minitest-jasmine.rb".freeze, "lib/ruby2js/filter/react.rb".freeze, "lib/ruby2js/filter/require.rb".freeze, "lib/ruby2js/filter/return.rb".freeze, "lib/ruby2js/filter/rubyjs.rb".freeze, "lib/ruby2js/filter/strict.rb".freeze, "lib/ruby2js/filter/underscore.rb".freeze, "lib/ruby2js/rails.rb".freeze, "lib/ruby2js/serializer.rb".freeze, "lib/ruby2js/sinatra.rb".freeze, "lib/ruby2js/version.rb".freeze, "ruby2js.gemspec".freeze]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby2js
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.17
4
+ version: 2.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-01 00:00:00.000000000 Z
11
+ date: 2017-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser