hallo_welt 0.0.2 → 0.0.3
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 +4 -4
- data/ext/hallo_welt/hallo_welt.c +2 -2
- data/hallo_welt.gemspec +1 -1
- data/lib/hallo_welt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f7578664db461e36f1969c183f130cb0b79443d7
|
|
4
|
+
data.tar.gz: 6f027d1b17a86b96bc5b814a6a717279ca56aef5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 277372a22e5baf6d052555c60dbc100b8afb608cdebfd7760d51ebeda8c87e01e7133d320d0695e7aa5f8f2c0f103f699173597211ecd603f7dd3add19966bc4
|
|
7
|
+
data.tar.gz: de5b9f0688d8da5654becb105c8ecee9dd74ed0a63fe88550e37e937cfd4bf4868227b325192fe5dbe33f12883e6cf26d3b0605db52c18fddbaf95513bd288a6
|
data/ext/hallo_welt/hallo_welt.c
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#include <ruby.h>
|
|
2
2
|
|
|
3
3
|
static VALUE hallo_welt_hello(VALUE self) {
|
|
4
|
-
|
|
5
|
-
return
|
|
4
|
+
VALUE string = rb_str_new2("Hello World!");
|
|
5
|
+
return rb_funcall(self, rb_intern("print"), 1, string);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
static VALUE hallo_welt_print(VALUE self, VALUE obj) {
|
data/hallo_welt.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.email = ['andreas.fast@moove-it.com']
|
|
11
11
|
spec.summary = %q{Print hello world from C}
|
|
12
12
|
spec.description = %q{This is a hello world example for a gem with native extensions}
|
|
13
|
-
spec.homepage = 'http://
|
|
13
|
+
spec.homepage = 'http://github.com/afast/hallo_welt'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
15
|
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
data/lib/hallo_welt/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hallo_welt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andreas Fast
|
|
@@ -74,7 +74,7 @@ files:
|
|
|
74
74
|
- hallo_welt.gemspec
|
|
75
75
|
- lib/hallo_welt.rb
|
|
76
76
|
- lib/hallo_welt/version.rb
|
|
77
|
-
homepage: http://
|
|
77
|
+
homepage: http://github.com/afast/hallo_welt
|
|
78
78
|
licenses:
|
|
79
79
|
- MIT
|
|
80
80
|
metadata: {}
|