fwi 1.2.7 → 1.2.8

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: f186533835cd17732ad30ab169cf3c7b6831d2e3
4
- data.tar.gz: 40af389ccd62cacd1e877ebf92ff62ce591dcb71
3
+ metadata.gz: 7ad6a9eefc35a8b15b169786d6c23c5d7893067f
4
+ data.tar.gz: b6c8cdc0bc8fff8dacbddb510ad831c684a8bf5f
5
5
  SHA512:
6
- metadata.gz: 695ab3c41d7feda5f68549b0e9512482e50db91135906c7264473c035675de3bbccc0886ece5a07e2ba31e6713bb37be08c9f50e948149ac53d56b6842c36a31
7
- data.tar.gz: 34912cad9fb5794d852d41c1608b3e502c7373ec167f15c939485e54a91c149fd27ed560a422f7a5705f90ede461ec54e9488b47fed353cf26b0a3b4721f718a
6
+ metadata.gz: 5dab20079eed40466057cd118a5c59fb17d42ecc9c439d86fa892e4850c159de2811edc53fa9e9e6d1aaec58af5be28a8639b86bbbe7f7ce91677b8e181e11c7
7
+ data.tar.gz: ca04360cfe96aa383db344bb1286f94affba040d6c19d1792c15880f90d4aa16424e9a059183a9c05b2750d85bcf6082106685db35d70d33d21a0d663a067ada
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fwi"
6
- spec.version = "1.2.7"
6
+ spec.version = "1.2.8"
7
7
  spec.authors = ["Jaci Brunning"]
8
8
  spec.email = ["jaci.brunning@gmail.com"]
9
9
 
@@ -50,6 +50,8 @@ module Generator
50
50
  else
51
51
  append(str, indent + 1, "return this.get_bool(#{member[:index]} + index / 8, index % 8);")
52
52
  end
53
+ elsif type == :string
54
+ append(str, indent + 1, "return this.get_string(#{util[:index]}, #{member[:size]});")
53
55
  else
54
56
  append(str, indent + 1, "return this.get_#{util[:internal_type]}(#{util[:index]});")
55
57
  end
@@ -69,6 +71,8 @@ module Generator
69
71
  else
70
72
  append(str, indent + 1, "this.set_bool(#{member[:index]} + index / 8, index % 8, value);")
71
73
  end
74
+ elsif type == :string
75
+ append(str, indent + 1, "this.set_string(#{util[:index]}, value, value.length);")
72
76
  else
73
77
  append(str, indent + 1, "this.set_#{util[:internal_type]}(#{util[:index]}, value);")
74
78
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fwi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaci Brunning
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-09 00:00:00.000000000 Z
11
+ date: 2016-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json