hoe 2.12.0 → 2.12.1

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.
data/History.txt CHANGED
@@ -1,3 +1,10 @@
1
+ === 2.12.1 / 2011-08-22
2
+
3
+ * 2 bug fixes:
4
+
5
+ * Fixed a test that fails on non-privileged (rvm/multiruby) setups
6
+ * RbConfig is used instead of Config to remove a 1.9.3 warning.
7
+
1
8
  === 2.12.0 / 2011-08-15
2
9
 
3
10
  * 2 minor enhancements:
data/lib/hoe/inline.rb CHANGED
@@ -37,7 +37,7 @@ module Hoe::Inline
37
37
  if defined?(Inline) then
38
38
  directory 'lib/inline'
39
39
 
40
- dlext = Config::CONFIG['DLEXT']
40
+ dlext = RbConfig::CONFIG['DLEXT']
41
41
 
42
42
  Inline.registered_inline_classes.each do |cls|
43
43
  name = cls.name.gsub(/::/, '')
data/lib/hoe.rb CHANGED
@@ -68,7 +68,7 @@ class Hoe
68
68
  include Rake::DSL if defined?(Rake::DSL)
69
69
 
70
70
  # duh
71
- VERSION = '2.12.0'
71
+ VERSION = '2.12.1'
72
72
 
73
73
  @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
74
74
  :publish, :rcov, :gemcutter, :signing, :test]
@@ -97,7 +97,7 @@ class Hoe
97
97
  ##
98
98
  # True if you're a masochistic developer. Used for building commands.
99
99
 
100
- WINDOZE = Config::CONFIG['host_os'] =~ /mswin|mingw/ unless defined? WINDOZE
100
+ WINDOZE = RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ unless defined? WINDOZE
101
101
 
102
102
  ##
103
103
  # *MANDATORY*: The author(s) of the package. (can be array)
data/test/test_hoe.rb CHANGED
@@ -228,7 +228,7 @@ class TestHoe < MiniTest::Unit::TestCase
228
228
  end
229
229
  end
230
230
 
231
- assert_match(/^sudo j?gem.*/, hoe.install_gem('foo'))
231
+ assert_match(/^(sudo )?j?gem.*/, hoe.install_gem('foo'))
232
232
  ENV['NOSUDO'] = '1'
233
233
  assert_match(/^j?gem.*/, hoe.install_gem('foo'))
234
234
  ensure
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 12
9
- - 0
10
- version: 2.12.0
9
+ - 1
10
+ version: 2.12.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Davis
@@ -36,7 +36,7 @@ cert_chain:
36
36
  FBHgymkyj/AOSqKRIpXPhjC6
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2011-08-15 00:00:00 Z
39
+ date: 2011-08-22 00:00:00 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
@@ -59,14 +59,13 @@ dependencies:
59
59
  requirement: &id002 !ruby/object:Gem::Requirement
60
60
  none: false
61
61
  requirements:
62
- - - ">="
62
+ - - ~>
63
63
  - !ruby/object:Gem::Version
64
- hash: 31
64
+ hash: 11
65
65
  segments:
66
66
  - 2
67
67
  - 4
68
- - 0
69
- version: 2.4.0
68
+ version: "2.4"
70
69
  type: :development
71
70
  version_requirements: *id002
72
71
  description: |-
metadata.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- C;����^��^��h����[D�.g|Y��|˂oN���j�̿vF?[_p�,'�Ǝ��R�a���u'�n����0Wۉ��L��G'F��S]*�JDT����
2
- �oYK�Y|� �u�ٗ�л���^�xP� F�4UlB�e� �u�`ۿ�z'�o�/���2��2�Ŕ�0Mx��=��f��ҍ�M�d��]�~�Ƙ��6��DV�����q��c����ۃ�s���CX����O�ͷ�e8˹��g
1
+ �m²��xv6m����Ի���5h4E�xh��-ZKu[��a ��39��ԇ#����X`��
2
+ �u��p�>�0�������(��k�G
3
+ M'����T`t觋������A|�M{����%,;���- �����E�