RubyInline 3.12.3 → 3.12.5

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
- SHA1:
3
- metadata.gz: 1d6182b09e600d7b7fb93d56bf4d602b89e3f95a
4
- data.tar.gz: 7acc51292d14cceacc6fe39c901f8cb4840de60b
2
+ SHA256:
3
+ metadata.gz: 0b52a9c305b0637630dac7864963cfeffcc35339b07a2e53247c993b6a6d025c
4
+ data.tar.gz: aa2215a384451f9b97d8ab5671c54e3b2d00acbca603e1848d8f2dc72a093009
5
5
  SHA512:
6
- metadata.gz: 243478a68519a0ff15331f215773a1bb0905d16b9574af1ff421e783e976b9960483a1cfbe962c4525531cfc73f4add448a33b9038bb481285766d4b84507b76
7
- data.tar.gz: 1829ff4d6d1a19005052c36ee2f9fa8f5442ea653f556dbaabaf307e476a553c256db762048fdb588f6373a147001ace2022315cc727138f525be7907df3bf9e
6
+ metadata.gz: 2834680eb4b3f5a11f96d6b258d95bc72c68f3fe61e1cf8785496a4f161b429d2b5d6a0c06f004544308a52b210c846fd78a73e114b34208c7135e13cab433bd
7
+ data.tar.gz: d966280a6cf13529cb3781801c39a08bd03da5c4576ddb244296b22065c1e17ccc3582d73acb07342ded1fa978a4f25d7c054f4fbd34cde1bd6a165056477a23
checksums.yaml.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,15 @@
1
+ === 3.12.5 / 2019-10-08
2
+
3
+ * 1 bug fix:
4
+
5
+ * Fixed a race condition between testing for file existance and renaming. (spjsschl)
6
+
7
+ === 3.12.4 / 2015-04-14
8
+
9
+ * 1 bug fix:
10
+
11
+ * Fixed arch header directoy with Ruby >= 2.0. (aurelj)
12
+
1
13
  === 3.12.3 / 2014-04-29
2
14
 
3
15
  * 3 bug fixes:
data/lib/inline.rb CHANGED
@@ -65,7 +65,7 @@ class CompilationError < RuntimeError; end
65
65
  # the current namespace.
66
66
 
67
67
  module Inline
68
- VERSION = "3.12.3"
68
+ VERSION = "3.12.5"
69
69
 
70
70
  WINDOZE = /mswin|mingw/ =~ RUBY_PLATFORM
71
71
  RUBINIUS = defined? RUBY_ENGINE
@@ -100,6 +100,9 @@ module Inline
100
100
  #
101
101
  # Perform a check in that other to see if the environment is defined
102
102
  # and if so, use it. only try this on Windows.
103
+ #
104
+ # Note, depending on how you're using this (eg, a rails app in
105
+ # production), you probably want to use absolute paths.
103
106
 
104
107
  def self.rootdir
105
108
  env = ENV['INLINEDIR'] || ENV['HOME']
@@ -566,7 +569,9 @@ VALUE #{method}_equals(VALUE value) {
566
569
  flags = @flags.join(' ')
567
570
  libs = @libs.join(' ')
568
571
 
569
- config_hdrdir = if RUBY_VERSION > '1.9' then
572
+ config_hdrdir = if RbConfig::CONFIG['rubyarchhdrdir'] then
573
+ "-I #{RbConfig::CONFIG['rubyarchhdrdir']}"
574
+ elsif RUBY_VERSION > '1.9' then
570
575
  "-I #{File.join hdrdir, RbConfig::CONFIG['arch']}"
571
576
  else
572
577
  nil
@@ -868,9 +873,13 @@ class File
868
873
 
869
874
  # move previous version to the side if it exists
870
875
  renamed = false
871
- if test ?f, path then
872
- renamed = true
873
- File.rename path, path + ".old"
876
+ if File.file? path then
877
+ begin
878
+ File.rename path, path + ".old"
879
+ renamed = true
880
+ rescue SystemCallError
881
+ # do nothing
882
+ end
874
883
  end
875
884
 
876
885
  File.open(path, "w") do |io|
data.tar.gz.sig CHANGED
@@ -1,5 +1,2 @@
1
- ��\�z8@�V��?�"��,3.��'/�j����+MT(b�PWt2��M7-&h�, ��4ó'}zӆ���?�hq� ��Blr`m7k��Y��������Q�g��G
2
- e��Q%q5� 2%^
3
- ��J��ʱ^��?.���}���R��w���Bڼ
4
- U���% ���#�C�^��~ Mex�>�4��[q�
5
- �#//A'kZC_���hc|�I c�]�X8)��nh ���ē��өÛ��oy}]���
1
+ 7rL��+���y��B)~,>�����޴��O�b��+�� Gem�aS��K���ƫC'Eï�0:`M�����I����$"x��WZ4���b�C���]u� ��
2
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RubyInline
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.3
4
+ version: 3.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -10,9 +10,9 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDPjCCAiagAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTEzMDkxNjIzMDQxMloXDTE0MDkxNjIzMDQxMlowRTETMBEGA1UE
15
+ GRYDY29tMB4XDTE4MTIwNDIxMzAxNFoXDTE5MTIwNDIxMzAxNFowRTETMBEGA1UE
16
16
  AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
17
17
  JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
18
18
  b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
@@ -21,72 +21,64 @@ cert_chain:
21
21
  GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
22
22
  qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
23
23
  gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
24
- HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
25
- AQCFZ7JTzoy1gcG4d8A6dmOJy7ygtO5MFpRIz8HuKCF5566nOvpy7aHhDDzFmQuu
26
- FX3zDU6ghx5cQIueDhf2SGOncyBmmJRRYawm3wI0o1MeN6LZJ/3cRaOTjSFy6+S6
27
- zqDmHBp8fVA2TGJtO0BLNkbGVrBJjh0UPmSoGzWlRhEVnYC33TpDAbNA+u39UrQI
28
- ynwhNN7YbnmSR7+JU2cUjBFv2iPBO+TGuWC+9L2zn3NHjuc6tnmSYipA9y8Hv+As
29
- Y4evBVezr3SjXz08vPqRO5YRdO3zfeMT8gBjRqZjWJGMZ2lD4XNfrs7eky74CyZw
30
- xx3n58i0lQkBE1EpKE0lFu/y
24
+ HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
25
+ AQCbJwLmpJR2PomLU+Zzw3KRzH/hbyUWc/ftru71AopZ1fy4iY9J/BW5QYKVYwbP
26
+ V0FSBWtvfI/RdwfKGtuGhPKECZgmLieGuZ3XCc09qPu1bdg7i/tu1p0t0c6163ku
27
+ nDMDIC/t/DAFK0TY9I3HswuyZGbLW7rgF0DmiuZdN/RPhHq2pOLMLXJmFclCb/im
28
+ 9yToml/06TJdUJ5p64mkBs0TzaK66DIB1Smd3PdtfZqoRV+EwaXMdx0Hb3zdR1JR
29
+ Em82dBUFsipwMLCYj39kcyHWAxyl6Ae1Cn9r/ItVBCxoeFdrHjfavnrIEoXUt4bU
30
+ UfBugfLD19bu3nvL+zTAGx/U
31
31
  -----END CERTIFICATE-----
32
- date: 2014-04-29 00:00:00.000000000 Z
32
+ date: 2019-10-09 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: ZenTest
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.3'
41
41
  type: :runtime
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '4.3'
48
- - !ruby/object:Gem::Dependency
49
- name: minitest
50
- requirement: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- version: '5.3'
55
- type: :development
56
- prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: '5.3'
62
48
  - !ruby/object:Gem::Dependency
63
49
  name: rdoc
64
50
  requirement: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ~>
52
+ - - ">="
67
53
  - !ruby/object:Gem::Version
68
54
  version: '4.0'
55
+ - - "<"
56
+ - !ruby/object:Gem::Version
57
+ version: '7'
69
58
  type: :development
70
59
  prerelease: false
71
60
  version_requirements: !ruby/object:Gem::Requirement
72
61
  requirements:
73
- - - ~>
62
+ - - ">="
74
63
  - !ruby/object:Gem::Version
75
64
  version: '4.0'
65
+ - - "<"
66
+ - !ruby/object:Gem::Version
67
+ version: '7'
76
68
  - !ruby/object:Gem::Dependency
77
69
  name: hoe
78
70
  requirement: !ruby/object:Gem::Requirement
79
71
  requirements:
80
- - - ~>
72
+ - - "~>"
81
73
  - !ruby/object:Gem::Version
82
- version: '3.12'
74
+ version: '3.18'
83
75
  type: :development
84
76
  prerelease: false
85
77
  version_requirements: !ruby/object:Gem::Requirement
86
78
  requirements:
87
- - - ~>
79
+ - - "~>"
88
80
  - !ruby/object:Gem::Version
89
- version: '3.12'
81
+ version: '3.18'
90
82
  description: |-
91
83
  Inline allows you to write foreign code within your ruby code. It
92
84
  automatically determines if the code in question has changed and
@@ -105,7 +97,6 @@ extra_rdoc_files:
105
97
  - Manifest.txt
106
98
  - README.txt
107
99
  files:
108
- - .gemtest
109
100
  - History.txt
110
101
  - Manifest.txt
111
102
  - README.txt
@@ -124,26 +115,24 @@ licenses:
124
115
  metadata: {}
125
116
  post_install_message:
126
117
  rdoc_options:
127
- - --main
118
+ - "--main"
128
119
  - README.txt
129
120
  require_paths:
130
121
  - lib
131
122
  required_ruby_version: !ruby/object:Gem::Requirement
132
123
  requirements:
133
- - - '>='
124
+ - - ">="
134
125
  - !ruby/object:Gem::Version
135
126
  version: '0'
136
127
  required_rubygems_version: !ruby/object:Gem::Requirement
137
128
  requirements:
138
- - - '>='
129
+ - - ">="
139
130
  - !ruby/object:Gem::Version
140
131
  version: '0'
141
132
  requirements:
142
133
  - A POSIX environment and a compiler for your language.
143
- rubyforge_project:
144
- rubygems_version: 2.2.1
134
+ rubygems_version: 3.0.6
145
135
  signing_key:
146
136
  specification_version: 4
147
137
  summary: Inline allows you to write foreign code within your ruby code
148
- test_files:
149
- - test/test_inline.rb
138
+ test_files: []
metadata.gz.sig CHANGED
@@ -1 +1 @@
1
- ELA-Kq )�2�/���K�-��Bm=�2l����jʹ��(M˙uY��++g��t�QuEm�r
1
+ @T�� ������ƙ�3�����U3'���n?��3}�j;��S���H\��hBf�т0$O?H���AI ܬ����*(��Z�*�Y �t�XWDXܾ�μ���b���ڼ.`���� 'w�8G�C��QOzܥ����������U�^��+s������DW�q���]���4��l&&���o- ;�7wȘ�_ �y�W���B�Ix��t
data/.gemtest DELETED
File without changes