liquid-c 4.0.0.rc1 → 4.0.0

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
- SHA1:
3
- metadata.gz: c625a10bf29068a8d124df52ea012868d936f2ea
4
- data.tar.gz: 537c2e49a4a6b65c693e7f51d2432d0f969dcb3f
2
+ SHA256:
3
+ metadata.gz: 77758dae352531922da22451dde536f29db15e1f07a330faece47fa77d5a18c8
4
+ data.tar.gz: 5d9b20b2bea44f41d7ea3d0d8fc1b8eaf700b357de310eec72d913d6d5f7c824
5
5
  SHA512:
6
- metadata.gz: 5390b71dc89234cd139d6e3234473cc00c200e37380ba8a140c1e49c58fe1d7db68dd98ee79d8d023cf4994c9c7b472031504bde9b2bc27312f9f0bb04a56902
7
- data.tar.gz: 99565b5eb0e6458afa0b9d7608b67160b1972892c6fa2bf2a4850eca80428b25f49743a57e9380ce6294448442f462109c917c7a702f647597a78d4443215402
6
+ metadata.gz: afb041c619f0cc008099ba11c0931a5669e0f6408b426899b5c2dd4388b9732811db5dd0ac49343f73879f51d83dc679f9af67cad041aec729656a81bc2161fa
7
+ data.tar.gz: ae3dbba3f9ca61f3aa693f7c3945a1ce8db39e5b5b6a698ab90e6ceca43617f82fc686373bd76b2acabbfed6d686ee91d8cddc9ef2d6ac6ec190856926d901e9
@@ -1,9 +1,8 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 2.0
5
- - 2.1
6
4
  - 2.2
5
+ - 2.5
7
6
  - ruby-head
8
7
 
9
8
  sudo: false
@@ -4,5 +4,5 @@ compiler = RbConfig::MAKEFILE_CONFIG['CC']
4
4
  if ENV['DEBUG'] == 'true' && compiler =~ /gcc|g\+\+/
5
5
  $CFLAGS << ' -fbounds-check'
6
6
  end
7
- $warnflags.gsub!(/-Wdeclaration-after-statement/, "")
7
+ $warnflags.gsub!(/-Wdeclaration-after-statement/, "") if $warnflags
8
8
  create_makefile("liquid_c")
@@ -120,9 +120,8 @@ static VALUE parse_variable(parser_t *p)
120
120
  }
121
121
 
122
122
  if (RARRAY_LEN(lookups) == 0) {
123
- VALUE undefined = FIXNUM_P(-1);
124
- VALUE literal = rb_hash_lookup2(vLiquidExpressionLiterals, name, undefined);
125
- if (literal != undefined) return literal;
123
+ VALUE literal = rb_hash_lookup2(vLiquidExpressionLiterals, name, Qundef);
124
+ if (literal != Qundef) return literal;
126
125
  }
127
126
 
128
127
  VALUE args[4] = {Qfalse, name, lookups, INT2FIX(command_flags)};
@@ -88,6 +88,7 @@ void tokenizer_next(tokenizer_t *tokenizer, token_t *token)
88
88
  tokenizer->lstrip_flag = 0;
89
89
  goto found;
90
90
  }
91
+ tokenizer->lstrip_flag = 0;
91
92
  token->type = TOKEN_INVALID;
92
93
  token->lstrip = token->rstrip;
93
94
  token->rstrip = 0;
@@ -1,5 +1,5 @@
1
1
  module Liquid
2
2
  module C
3
- VERSION = "4.0.0.rc1"
3
+ VERSION = "4.0.0"
4
4
  end
5
5
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Justin Li", "Dylan Thacker-Smith"]
10
10
  spec.email = ["gems@shopify.com"]
11
11
  spec.summary = "Liquid performance extension in C"
12
- spec.homepage = ""
12
+ spec.homepage = "https://github.com/shopify/liquid-c"
13
13
  spec.license = "MIT"
14
14
 
15
15
  spec.extensions = ['ext/liquid_c/extconf.rb']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liquid-c
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.rc1
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Li
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-09-13 00:00:00.000000000 Z
12
+ date: 2018-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: liquid
@@ -130,7 +130,7 @@ files:
130
130
  - test/test_helper.rb
131
131
  - test/unit/tokenizer_test.rb
132
132
  - test/unit/variable_test.rb
133
- homepage: ''
133
+ homepage: https://github.com/shopify/liquid-c
134
134
  licenses:
135
135
  - MIT
136
136
  metadata: {}
@@ -145,12 +145,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  requirements:
148
- - - ">"
148
+ - - ">="
149
149
  - !ruby/object:Gem::Version
150
- version: 1.3.1
150
+ version: '0'
151
151
  requirements: []
152
152
  rubyforge_project:
153
- rubygems_version: 2.4.5
153
+ rubygems_version: 2.7.6
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: Liquid performance extension in C