hallo_welt 0.0.2 → 0.0.3

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: 9fe23179f2cfc5d6c7bf041c264f10d7f9407bb1
4
- data.tar.gz: e2003c1fea3b9179bd2446f7cfd9491b01448b7b
3
+ metadata.gz: f7578664db461e36f1969c183f130cb0b79443d7
4
+ data.tar.gz: 6f027d1b17a86b96bc5b814a6a717279ca56aef5
5
5
  SHA512:
6
- metadata.gz: 1b4df49dfe3dc7caf6a0d93ec940a830efc3a9058c77679c9011390f9398909f46f0d460efb15c64a2576ecf661c6dfa1b1aaa8dd82e7fa5849594c5e6e82d01
7
- data.tar.gz: bbcfec99bd00bb279c264bfc89da1c756c7fc036bbba44c1921227dd114f185975ed0f895fd20f598beaf9515caa9d1b047b5ca1c5e64ffaae76b82957d8f91e
6
+ metadata.gz: 277372a22e5baf6d052555c60dbc100b8afb608cdebfd7760d51ebeda8c87e01e7133d320d0695e7aa5f8f2c0f103f699173597211ecd603f7dd3add19966bc4
7
+ data.tar.gz: de5b9f0688d8da5654becb105c8ecee9dd74ed0a63fe88550e37e937cfd4bf4868227b325192fe5dbe33f12883e6cf26d3b0605db52c18fddbaf95513bd288a6
@@ -1,8 +1,8 @@
1
1
  #include <ruby.h>
2
2
 
3
3
  static VALUE hallo_welt_hello(VALUE self) {
4
- printf("Hello World!");
5
- return Qnil;
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) {
@@ -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://moove-it.com'
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")
@@ -1,3 +1,3 @@
1
1
  class HalloWelt
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
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.2
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://moove-it.com
77
+ homepage: http://github.com/afast/hallo_welt
78
78
  licenses:
79
79
  - MIT
80
80
  metadata: {}