goodguide-gibbon 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94e167f036800da8152def1c3b2495b95f1781ef
4
- data.tar.gz: 1746c2c2070bcf91c4e1df017c6f9cb9af7c4d94
3
+ metadata.gz: 6149450d065a995f3529ce090e46660c767b3528
4
+ data.tar.gz: dc185cb13befd7689de9ab2529e87d4c76ef0a55
5
5
  SHA512:
6
- metadata.gz: 238529f54e900f1e87a17bec31246d3cbb0fba7b61340f69d66dfc932274e33f3368237f4444fc77dcf084f9885f5c05f310bf42c547236d00782c00b2f7f374
7
- data.tar.gz: d2fcff687cbe7a9f6d2d0e81ceb44226d61c5d0950f92ae1743c7f8b74504c8a8b53e4fab75abd244a76630e55e2aabca45d0d6da054f1c86fedd8ba7a10a3e2
6
+ metadata.gz: 35a60f8887b78d4b9c17991671e7c75b5fc312ba525357baf56ffaec5429a40ada1fe8534d4d119429366e813a32f77170a134464167f95fce7149c25e6e0b1c
7
+ data.tar.gz: 111d9117a247e4961f1b0e4904454ecc4023162a89c54340f62a99b8e07e580279d16bd0bd5aaf091895ce8d083de726917434aaf1408ce256c95ba0bb7821e0
@@ -4,8 +4,8 @@ require 'rake'
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "goodguide-gibbon"
6
6
  s.version = GoodGuide::Gibbon.version
7
- s.authors = ["Jay Adkisson"]
8
- s.email = ["jjmadkisson@gmail.com"]
7
+ s.authors = ["Jeanine Adkisson"]
8
+ s.email = ["jneen@goodguide.com"]
9
9
  s.summary = "Ruby bindings for the gibbon data language"
10
10
  s.description = <<-desc.strip.gsub(/\s+/, ' ')
11
11
  Run and analyze gibbon code from ruby or a browser (via a ruby app).
@@ -6944,7 +6944,11 @@ Gibbon.compileRuby = (function() {
6944
6944
  if (o === '===') {
6945
6945
  o = '==';
6946
6946
  }
6947
- return r(lhs).op2(o, r(rhs));
6947
+ if (o === "/") {
6948
+ return Ruby.mcall(r(lhs), "fdiv", [r(rhs)], [], null);
6949
+ } else {
6950
+ return r(lhs).op2(o, r(rhs));
6951
+ }
6948
6952
  },
6949
6953
  bind: function(name, value, expr) {
6950
6954
  return Ruby.group([id(name).assign(r(value)), r(expr)]);
@@ -6881,7 +6881,11 @@ Gibbon.compileRuby = (function() {
6881
6881
  if (o === '===') {
6882
6882
  o = '==';
6883
6883
  }
6884
- return r(lhs).op2(o, r(rhs));
6884
+ if (o === "/") {
6885
+ return Ruby.mcall(r(lhs), "fdiv", [r(rhs)], [], null);
6886
+ } else {
6887
+ return r(lhs).op2(o, r(rhs));
6888
+ }
6885
6889
  },
6886
6890
  bind: function(name, value, expr) {
6887
6891
  return Ruby.group([id(name).assign(r(value)), r(expr)]);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gibbon",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "A data language",
5
5
  "keywords": ["language"],
6
6
  "author": "Jeanine Adkisson <jjmadkisson at gmail dot com>",
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goodguide-gibbon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
- - Jay Adkisson
7
+ - Jeanine Adkisson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-12 00:00:00.000000000 Z
11
+ date: 2015-01-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Run and analyze gibbon code from ruby or a browser (via a ruby app).
14
14
  email:
15
- - jjmadkisson@gmail.com
15
+ - jneen@goodguide.com
16
16
  executables: []
17
17
  extensions:
18
18
  - ext/mkrf_conf.rb