inkcpp_rb 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: 9108f35d9ee3f30702c1b2c73c77b1cd86a98122bfa4ae92bb47227af78b0307
4
- data.tar.gz: 98e7b0ece1ede52080f09421f2c8d5fdd5ad5e803c34266ab1a0eca209247356
3
+ metadata.gz: 3b5890b2bbfe3d3c602e99799b9fd2fe650fdef4679bd42faeb6b8a7d9e08996
4
+ data.tar.gz: 51a71c11f3584b110133d3285f4b7a7a7f249c9ad5a6155eee5999b1748878f5
5
5
  SHA512:
6
- metadata.gz: 7da2986d457633e3e88175fc15fc52c58490e2c553f99e731a54c142454439529338a1e6cdeca371d0ee4704465b1a6d54601230232fee57edc56901a44a90ea
7
- data.tar.gz: 4571001c48c80c561cb9517b53d5ccd735368a32271c666c8bedfc9922f01faccab8b3d09c2b0e1dbd89330c9ffa66c59d1ae9abd7f6fc16c33c57b4b8962dc6
6
+ metadata.gz: f4e64b70c287fc7fd8e4e79e76d10d31b318abfcedf3e27a30ebe000247a55b1fdb93599ad6a4cd7cdc40da7035c3ebf4a8b4c3ec32533e2280d7ccfaa753a6f
7
+ data.tar.gz: 41821d98ba8b4832325d8958e7e324d4218c77c6ef703aa64037cc5bd7028a55dff3629ed5cd5560667e7cc4791a7d0e2b1f2073cf4322fe45f87c5aaa2e052f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- inkcpp_rb (0.1.0)
4
+ inkcpp_rb (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Rakefile CHANGED
@@ -11,6 +11,8 @@ Rake::TestTask.new(:test) do |t|
11
11
  end
12
12
 
13
13
 
14
- Rake::ExtensionTask.new("inkcpp_rb")
14
+ Rake::ExtensionTask.new("inkcpp_rb", Gem::Specification::load("inkcpp_rb.gemspec")) do |ext|
15
+ ext.lib_dir = "lib/inkcpp_rb"
16
+ end
15
17
 
16
18
  task default: :test
@@ -117,8 +117,6 @@ std::string list_to_str(const list& list)
117
117
  extern "C"
118
118
  void Init_inkcpp_rb() {
119
119
  Rice::Module rb_mInk = define_module("Ink");
120
- rb_mInk.const_set(Rice::Identifier("VERSION"), Rice::String("0.1.0"));
121
-
122
120
  Data_Type<ink::compiler::compilation_results> rb_cCompilationResults = define_class_under<ink::compiler::compilation_results>(rb_mInk, "CompilationResults")
123
121
  .define_method("warnings", [](ink::compiler::compilation_results &results) {
124
122
  return results.warnings;
data/inkcpp_rb.gemspec CHANGED
@@ -1,8 +1,9 @@
1
1
  # frozen_string_literal: true
2
+ require_relative "./lib/inkcpp_rb/version"
2
3
 
3
4
  Gem::Specification.new do |spec|
4
5
  spec.name = "inkcpp_rb"
5
- spec.version = "0.1.0"
6
+ spec.version = InkcppRb::VERSION
6
7
  spec.authors = ["Chris Zelenak"]
7
8
  spec.email = ["chris@zelenak.me"]
8
9
  spec.licenses = ["MIT"]
@@ -0,0 +1,3 @@
1
+ module InkcppRb
2
+ VERSION = "0.1.1"
3
+ end
data/lib/inkcpp_rb.rb ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+ require_relative "inkcpp_rb/inkcpp_rb"
3
+ require_relative "inkcpp_rb/version"
4
+ module InkcppRb
5
+ end
data/rbi/inkcpp_rb.rbi CHANGED
@@ -1,5 +1,9 @@
1
1
  # typed: strict
2
2
 
3
+ module InkcppRb
4
+ VERSION = T.let(T.anything, String)
5
+ end
6
+
3
7
  module Ink
4
8
  class CompilationResults
5
9
  sig { returns(T.untyped) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inkcpp_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Zelenak
@@ -350,6 +350,8 @@ files:
350
350
  - ext/inkcpp_rb/inkcpp/unreal/render.css
351
351
  - ext/inkcpp_rb/inkcpp_rb.cpp
352
352
  - inkcpp_rb.gemspec
353
+ - lib/inkcpp_rb.rb
354
+ - lib/inkcpp_rb/version.rb
353
355
  - rbi/inkcpp_rb.rbi
354
356
  - sorbet/config
355
357
  - sorbet/rbi/annotations/.gitattributes