RubyInlineWithoutZenTest 3.12.2 → 3.12.4

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6623c3b8d896bdf3c55a7d9f370a6ed6e6d2a0a3
4
+ data.tar.gz: 046a9defa0fad053ece399442c505cb7fe5c7408
5
+ SHA512:
6
+ metadata.gz: 9f8b7d7b897c879ba186f7c26c70cf2cce7bbb78b3826ae9e403e548faa2ea85398a341d5baaf68f259f992eacadbe48f143694a609c624caba36411030cc789
7
+ data.tar.gz: 708ad2d609334571db35628f4c570a38d87ff429ad8580957abc49fa9e5f80e43baf9f1dd9e3e9834a1e0722dda91a20e320d3c246d31c4f812fabdcb99a91cc
data/History.txt CHANGED
@@ -1,3 +1,17 @@
1
+ === 3.12.4 / 2015-04-14
2
+
3
+ * 1 bug fix:
4
+
5
+ * Fixed arch header directoy with Ruby >= 2.0. (aurelj)
6
+
7
+ === 3.12.3 / 2014-04-29
8
+
9
+ * 3 bug fixes:
10
+
11
+ * Fixed code/home urls in readme/gem.
12
+ * Fixed linker error on clang+freebsd10+rbenv.
13
+ * Removed old hack for osx 10.5
14
+
1
15
  === 3.12.2 / 2013-04-18
2
16
 
3
17
  * 2 minor enhancements:
@@ -1,3 +1,3 @@
1
1
  module Inline
2
- VERSION = "3.12.2".freeze
2
+ VERSION = "3.12.4".freeze
3
3
  end
data/lib/inline.rb CHANGED
@@ -564,7 +564,9 @@ VALUE #{method}_equals(VALUE value) {
564
564
  flags = @flags.join(' ')
565
565
  libs = @libs.join(' ')
566
566
 
567
- config_hdrdir = if RUBY_VERSION > '1.9' then
567
+ config_hdrdir = if RbConfig::CONFIG['rubyarchhdrdir'] then
568
+ "-I #{RbConfig::CONFIG['rubyarchhdrdir']}"
569
+ elsif RUBY_VERSION > '1.9' then
568
570
  "-I #{File.join hdrdir, RbConfig::CONFIG['arch']}"
569
571
  else
570
572
  nil
@@ -590,12 +592,12 @@ VALUE #{method}_equals(VALUE value) {
590
592
  (RbConfig::CONFIG['CCDLFLAGS'] if windoze),
591
593
  ].compact.join(' ')
592
594
 
593
- # strip off some makefile macros for mingw 1.9
594
- cmd = cmd.gsub(/\$\(.*\)/, '') if RUBY_PLATFORM =~ /mingw/
595
+ # odd compilation error on clang + freebsd 10. Ruby built w/ rbenv.
596
+ cmd = cmd.gsub(/-Wl,-soname,\$@/, "-Wl,-soname,#{File.basename so_name}")
597
+
598
+ # strip off some makefile macros for mingw 1.9
599
+ cmd = cmd.gsub(/\$\(.*\)/, '') if RUBY_PLATFORM =~ /mingw/
595
600
 
596
- # TODO: remove after osx 10.5.2
597
- cmd += ' -flat_namespace -undefined suppress' if
598
- RUBY_PLATFORM =~ /darwin9\.[01]/
599
601
  cmd += " 2> #{DEV_NULL}" if $TESTING and not $DEBUG
600
602
 
601
603
  warn "Building #{so_name} with '#{cmd}'" if $DEBUG
data/test/test_inline.rb CHANGED
@@ -933,6 +933,7 @@ extern \"C\" {
933
933
 
934
934
  def test_load
935
935
  # totally tested by test_build
936
+ assert true
936
937
  end
937
938
 
938
939
  end # class TestC
metadata CHANGED
@@ -1,77 +1,66 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: RubyInlineWithoutZenTest
3
- version: !ruby/object:Gem::Version
4
- hash: 51
5
- prerelease:
6
- segments:
7
- - 3
8
- - 12
9
- - 2
10
- version: 3.12.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.12.4
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Paul Kmiec
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-07-24 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2015-08-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: minitest
22
- prerelease: false
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 21
29
- segments:
30
- - 4
31
- - 7
32
- version: "4.7"
33
- requirement: *id001
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.7'
34
20
  type: :development
35
- - !ruby/object:Gem::Dependency
36
- name: rdoc
37
21
  prerelease: false
38
- version_requirements: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 27
44
- segments:
45
- - 4
46
- - 0
47
- version: "4.0"
48
- requirement: *id002
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
49
34
  type: :development
50
- - !ruby/object:Gem::Dependency
51
- name: rake
52
35
  prerelease: false
53
- version_requirements: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
56
45
  - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- version: "0"
62
- requirement: *id003
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
63
48
  type: :development
64
- description: See https://github.com/seattlerb/zentest/issues/28. Tired of wasting time with ZenTest.
65
- email:
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: See https://github.com/seattlerb/zentest/issues/28. Tired of wasting
56
+ time with ZenTest.
57
+ email:
66
58
  - paul.kmiec@appfolio.com
67
59
  executables: []
68
-
69
60
  extensions: []
70
-
71
61
  extra_rdoc_files: []
72
-
73
- files:
74
- - .gitignore
62
+ files:
63
+ - ".gitignore"
75
64
  - Gemfile
76
65
  - History.txt
77
66
  - LICENSE.txt
@@ -90,38 +79,30 @@ files:
90
79
  - test/test_inline.rb
91
80
  - tutorial/example1.rb
92
81
  - tutorial/example2.rb
93
- homepage: ""
94
- licenses:
82
+ homepage: ''
83
+ licenses:
95
84
  - MIT
85
+ metadata: {}
96
86
  post_install_message:
97
87
  rdoc_options: []
98
-
99
- require_paths:
88
+ require_paths:
100
89
  - lib
101
- required_ruby_version: !ruby/object:Gem::Requirement
102
- none: false
103
- requirements:
90
+ required_ruby_version: !ruby/object:Gem::Requirement
91
+ requirements:
104
92
  - - ">="
105
- - !ruby/object:Gem::Version
106
- hash: 3
107
- segments:
108
- - 0
109
- version: "0"
110
- required_rubygems_version: !ruby/object:Gem::Requirement
111
- none: false
112
- requirements:
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ required_rubygems_version: !ruby/object:Gem::Requirement
96
+ requirements:
113
97
  - - ">="
114
- - !ruby/object:Gem::Version
115
- hash: 3
116
- segments:
117
- - 0
118
- version: "0"
119
- requirements:
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ requirements:
120
101
  - A POSIX environment and a compiler for your language.
121
102
  rubyforge_project:
122
- rubygems_version: 1.8.5
103
+ rubygems_version: 2.4.8
123
104
  signing_key:
124
105
  specification_version: 3
125
106
  summary: RubyInline without the ZenTest dependency
126
- test_files:
107
+ test_files:
127
108
  - test/test_inline.rb