backports 3.3.1 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- backports (3.3.1)
10
+ backports (3.3.2)
11
11
 
12
12
  GEM
13
13
  remote: http://rubygems.org/
@@ -1,8 +1,8 @@
1
1
  unless (Math.log(2, 2) rescue false)
2
- # Standard in Ruby 1.9. See official documentation[http://ruby-doc.org/core-1.9/classes/Math.html]
3
- class << Math
4
- require 'backports/tools'
2
+ require 'backports/tools'
5
3
 
4
+ class << Math
5
+ # Standard in Ruby 1.9. See official documentation[http://ruby-doc.org/core-1.9/classes/Math.html]
6
6
  def log_with_optional_base(numeric, base = Backports::Undefined)
7
7
  if base.equal?(Backports::Undefined)
8
8
  # Math.log(n) in 1.9.1 no longer accepts string arguments as it
@@ -16,7 +16,5 @@ unless (Math.log(2, 2) rescue false)
16
16
  end
17
17
  end
18
18
  Backports.alias_method_chain self, :log, :optional_base
19
-
20
- # Standard in Ruby 1.9. See official documentation[http://ruby-doc.org/core-1.9/classes/Math.html]
21
19
  end
22
20
  end
@@ -1,3 +1,3 @@
1
1
  module Backports
2
- VERSION = "3.3.1" unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
2
+ VERSION = "3.3.2" unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
3
3
  end
metadata CHANGED
@@ -1,33 +1,24 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: backports
3
- version: !ruby/object:Gem::Version
4
- hash: 9
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.3.2
5
5
  prerelease:
6
- segments:
7
- - 3
8
- - 3
9
- - 1
10
- version: 3.3.1
11
6
  platform: ruby
12
- authors:
13
- - "Marc-Andr\xC3\xA9 Lafortune"
7
+ authors:
8
+ - Marc-André Lafortune
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-05-22 00:00:00 Z
12
+ date: 2013-06-13 00:00:00.000000000 Z
19
13
  dependencies: []
20
-
21
- description: Essential backports that enable many of the nice features of Ruby 1.8.7 up to 2.0.0 for earlier versions.
22
- email:
14
+ description: Essential backports that enable many of the nice features of Ruby 1.8.7
15
+ up to 2.0.0 for earlier versions.
16
+ email:
23
17
  - github@marc-andre.ca
24
18
  executables: []
25
-
26
19
  extensions: []
27
-
28
20
  extra_rdoc_files: []
29
-
30
- files:
21
+ files:
31
22
  - .document
32
23
  - .gitignore
33
24
  - .gitmodules
@@ -522,40 +513,32 @@ files:
522
513
  - test/test_helper.rb
523
514
  homepage: http://github.com/marcandre/backports
524
515
  licenses: []
525
-
526
516
  post_install_message:
527
517
  rdoc_options: []
528
-
529
- require_paths:
518
+ require_paths:
530
519
  - lib
531
- required_ruby_version: !ruby/object:Gem::Requirement
520
+ required_ruby_version: !ruby/object:Gem::Requirement
532
521
  none: false
533
- requirements:
534
- - - ">="
535
- - !ruby/object:Gem::Version
536
- hash: 3
537
- segments:
538
- - 0
539
- version: "0"
540
- required_rubygems_version: !ruby/object:Gem::Requirement
522
+ requirements:
523
+ - - ! '>='
524
+ - !ruby/object:Gem::Version
525
+ version: '0'
526
+ required_rubygems_version: !ruby/object:Gem::Requirement
541
527
  none: false
542
- requirements:
543
- - - ">="
544
- - !ruby/object:Gem::Version
545
- hash: 3
546
- segments:
547
- - 0
548
- version: "0"
528
+ requirements:
529
+ - - ! '>='
530
+ - !ruby/object:Gem::Version
531
+ version: '0'
549
532
  requirements: []
550
-
551
533
  rubyforge_project:
552
534
  rubygems_version: 1.8.25
553
535
  signing_key:
554
536
  specification_version: 3
555
537
  summary: Backports of Ruby features for older Ruby.
556
- test_files:
538
+ test_files:
557
539
  - test/README
558
540
  - test/_backport_guards_test.rb
559
541
  - test/lazy_test.rb
560
542
  - test/socket_interaction_test.rb
561
543
  - test/test_helper.rb
544
+ has_rdoc: