RubyInline 3.12.4 → 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: f415c7e78b8caff10114d1decf059f142d5002da
4
- data.tar.gz: 59bf511b76f339788c0abe3b2c4c433bc016274c
2
+ SHA256:
3
+ metadata.gz: 0b52a9c305b0637630dac7864963cfeffcc35339b07a2e53247c993b6a6d025c
4
+ data.tar.gz: aa2215a384451f9b97d8ab5671c54e3b2d00acbca603e1848d8f2dc72a093009
5
5
  SHA512:
6
- metadata.gz: 154a55869965b52a8203ebfa31164a332facde2ef146f4a0f206ebba2cedf2836f84db95cab53d86619aeeaeb2bfc6dbc93f5c2f207b9818d761f6efa7523a45
7
- data.tar.gz: efef19df536292c467d6d5feb57d9a5684217ec30c8026a28a4b68f0ab458aaa8a6d9139f57506169503e78dc1bf439a292a359d71957c7a7579b9d7cbd0a6b4
6
+ metadata.gz: 2834680eb4b3f5a11f96d6b258d95bc72c68f3fe61e1cf8785496a4f161b429d2b5d6a0c06f004544308a52b210c846fd78a73e114b34208c7135e13cab433bd
7
+ data.tar.gz: d966280a6cf13529cb3781801c39a08bd03da5c4576ddb244296b22065c1e17ccc3582d73acb07342ded1fa978a4f25d7c054f4fbd34cde1bd6a165056477a23
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,2 @@
1
- D?�õ�� \��͙�BO�S�ӰPWkb$Sq�0K��)0��,=(��%�Tc�:�b��P��ޱxs��0�<�
1
+ 7rL��+���y��B)~,>�����޴��O�b��+�� Gem�a�S��K���ƫC'Eï�0:`M�����I����$"�x��W�Z4���b�C���]u� ��
2
+
@@ -1,3 +1,9 @@
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
+
1
7
  === 3.12.4 / 2015-04-14
2
8
 
3
9
  * 1 bug fix:
@@ -65,7 +65,7 @@ class CompilationError < RuntimeError; end
65
65
  # the current namespace.
66
66
 
67
67
  module Inline
68
- VERSION = "3.12.4"
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']
@@ -870,9 +873,13 @@ class File
870
873
 
871
874
  # move previous version to the side if it exists
872
875
  renamed = false
873
- if test ?f, path then
874
- renamed = true
875
- 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
876
883
  end
877
884
 
878
885
  File.open(path, "w") do |io|
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.4
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
- MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTE0MDkxNzIzMDcwN1oXDTE1MDkxNzIzMDcwN1owRTETMBEGA1UE
15
+ GRYDY29tMB4XDTE4MTIwNDIxMzAxNFoXDTE5MTIwNDIxM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ieGuZ3XCc09qPu1bdg7i/tu1p0t0c6163ku
27
+ nDMDIC/t/DAFK0TY9I3HswuyZGbLW7rgF0DmiuZdN/RPhHq2pOLMLXJmFclCb/im
28
+ 9yToml/06TJdUJ5p64mkBs0TzaK66DIB1Smd3PdtfZqoRV+EwaXMdx0Hb3zdR1JR
29
+ Em82dBUFsipwMLCYj39kcyHWAxyl6Ae1Cn9r/ItVBCxoeFdrHjfavnrIEoXUt4bU
30
+ UfBugfLD19bu3nvL+zTAGx/U
31
31
  -----END CERTIFICATE-----
32
- date: 2015-04-15 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.6'
55
- type: :development
56
- prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: '5.6'
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.13'
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.13'
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,24 +115,23 @@ 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.4.5
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
metadata.gz.sig CHANGED
Binary file
data/.gemtest DELETED
File without changes