rake-remote_task 2.2.2 → 2.3.0

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
2
  SHA1:
3
- metadata.gz: 502cef8a20f6f15f860b819658f6fe122e870be0
4
- data.tar.gz: 1e0faa84fd48849dc90f8e8a785cfab9a21db85a
3
+ metadata.gz: 92b0242f8e9f5dea543c572c7732c9e9784e79af
4
+ data.tar.gz: 49f144204d6866d1117e7acecda35fc4f5bb5827
5
5
  SHA512:
6
- metadata.gz: 420c068b35a673397685027c2e867b1c966d951eda114d712f9ddb25f0ebb665a6d36c193e02a8dd1d17f981644d9c8047de24f881b2c347a03afa182697ace1
7
- data.tar.gz: 26f51501e897113cb33fe65b50d6cd31e957985e347a9a9884a1c64ba20bc05bb2532c293275ed3d717cee76fbe671621a3dff9839d41f72b6d29c27b83bb911
6
+ metadata.gz: 6d4fa464a4dbddf0475641c0a2b4c60921f4f4ea9d6fc3498701739b0b5c3138d9dbb44d457a61f3efc6408f0a4cb1c7e97c08955d809b7d5be4b725841fc2cb
7
+ data.tar.gz: 44007dc2b6071ccce48b7ff0e8a7b8df1d0eca8df491cd1ac83140b475c2e37c94c901ed5e823cdbcae01b8d914fa0e8330d4d5d4a6f54f8bbed7108313143ec
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1 @@
1
- *f�bwL�C"�_�o����wW�16R��],8�����gZU�iA�@uzv��r��Rč&3!m(����"O�4<��SVr��\�f�3ٞkނ�{t5/h8�}]����(%��V"��������
2
- �M�P������̲��[b���_���[��P{�+�g�����옦�Dڐ���h'�E*n�����Q��Ъ����Æ�M^�>�W0�T����ܦ��ִ��wV�ɑz�
3
- ;�b����]��\`�}��
1
+ XD���{�+��9
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 2.3.0 / 2015-06-25
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Create private methods from Rake::RemoteTask#set. (drbrain)
6
+
1
7
  === 2.2.2 / 2014-06-17
2
8
 
3
9
  * 1 minor enhancement:
@@ -45,7 +45,7 @@ end
45
45
 
46
46
  class Rake::RemoteTask < Rake::Task
47
47
 
48
- VERSION = "2.2.2"
48
+ VERSION = "2.3.0"
49
49
 
50
50
  @@current_roles = []
51
51
 
@@ -446,13 +446,15 @@ class Rake::RemoteTask < Rake::Task
446
446
  Rake::RemoteTask.default_env[name] = Rake::RemoteTask.env[name] =
447
447
  default_block || value
448
448
 
449
- if Object.public_instance_methods.include? name.to_sym then
449
+ if Object.private_instance_methods.include? name.to_sym then
450
450
  Object.send :alias_method, :"old_#{name}", name
451
451
  end
452
452
 
453
453
  Object.send :define_method, name do
454
454
  Rake::RemoteTask.fetch name
455
455
  end
456
+
457
+ Object.send :private, name
456
458
  end
457
459
 
458
460
  ##
@@ -3,7 +3,7 @@ require 'rake/test_case'
3
3
  class TestRakeRemoteTask < Rake::TestCase
4
4
  def teardown
5
5
  Object.send :remove_method, :old_domain if
6
- Object.public_instance_methods.include? :old_domain
6
+ Object.private_instance_methods.include? :old_domain
7
7
  end
8
8
 
9
9
  def test_enhance
@@ -35,19 +35,19 @@ class TestRakeRemoteTask < Rake::TestCase
35
35
  end
36
36
  end
37
37
  task.execute nil
38
- assert_equal 1, task.some_variable
38
+ assert_equal 1, task.send(:some_variable)
39
39
  assert_equal 7, x
40
- assert task.can_set_nil.nil?
41
- assert_equal false, task.lies_are
40
+ assert task.send(:can_set_nil).nil?
41
+ assert_equal false, task.send(:lies_are)
42
42
  end
43
43
 
44
44
  def test_set_false
45
45
  set :can_set_nil, nil
46
46
  set :lies_are, false
47
47
 
48
- assert_equal nil, task.can_set_nil
48
+ assert_equal nil, task.send(:can_set_nil)
49
49
 
50
- assert_equal false, task.lies_are
50
+ assert_equal false, task.send(:lies_are)
51
51
  assert_equal false, Rake::RemoteTask.fetch(:lies_are)
52
52
  end
53
53
 
@@ -84,7 +84,7 @@ class TestRakeRemoteTask < Rake::TestCase
84
84
  x = 5
85
85
  task = @rake.remote_task(:some_task, :roles => :db) { x += some_variable }
86
86
  task.execute nil
87
- assert_equal 1, task.some_variable
87
+ assert_equal 1, task.send(:some_variable)
88
88
  assert_equal 6, x
89
89
  end
90
90
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-remote_task
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -12,9 +12,9 @@ bindir: bin
12
12
  cert_chain:
13
13
  - |
14
14
  -----BEGIN CERTIFICATE-----
15
- MIIDPjCCAiagAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
15
+ MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
16
16
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
17
- GRYDY29tMB4XDTEzMDkxNjIzMDQxMloXDTE0MDkxNjIzMDQxMlowRTETMBEGA1UE
17
+ GRYDY29tMB4XDTE0MDkxNzIzMDcwN1oXDTE1MDkxNzIzMDcwN1owRTETMBEGA1UE
18
18
  AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
19
19
  JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
20
20
  b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
@@ -24,14 +24,14 @@ cert_chain:
24
24
  qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
25
25
  gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
26
26
  HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
27
- AQCFZ7JTzoy1gcG4d8A6dmOJy7ygtO5MFpRIz8HuKCF5566nOvpy7aHhDDzFmQuu
28
- FX3zDU6ghx5cQIueDhf2SGOncyBmmJRRYawm3wI0o1MeN6LZJ/3cRaOTjSFy6+S6
29
- zqDmHBp8fVA2TGJtO0BLNkbGVrBJjh0UPmSoGzWlRhEVnYC33TpDAbNA+u39UrQI
30
- ynwhNN7YbnmSR7+JU2cUjBFv2iPBO+TGuWC+9L2zn3NHjuc6tnmSYipA9y8Hv+As
31
- Y4evBVezr3SjXz08vPqRO5YRdO3zfeMT8gBjRqZjWJGMZ2lD4XNfrs7eky74CyZw
32
- xx3n58i0lQkBE1EpKE0lFu/y
27
+ AQAFoDJRokCQdxFfOrmsKX41KOFlU/zjrbDVM9hgB/Ur999M6OXGSi8FitXNtMwY
28
+ FVjsiAPeU7HaWVVcZkj6IhINelTkXsxgGz/qCzjHy3iUMuZWw36cS0fiWJ5rvH+e
29
+ hD7uXxJSFuyf1riDGI1aeWbQ74WMwvNstOxLUMiV5a1fzBhlxPqb537ubDjq/M/h
30
+ zPUFPVYeL5KjDHLCqI2FwIk2sEMOQgjpXHzl+3NlD2LUgUhHDMevmgVua0e2GT1B
31
+ xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
32
+ VpzF30vNaJK6ZT7xlIsIlwmH
33
33
  -----END CERTIFICATE-----
34
- date: 2014-06-18 00:00:00.000000000 Z
34
+ date: 2015-06-26 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
@@ -73,14 +73,14 @@ dependencies:
73
73
  requirements:
74
74
  - - ~>
75
75
  - !ruby/object:Gem::Version
76
- version: '5.3'
76
+ version: '5.7'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ~>
82
82
  - !ruby/object:Gem::Version
83
- version: '5.3'
83
+ version: '5.7'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rdoc
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -101,14 +101,14 @@ dependencies:
101
101
  requirements:
102
102
  - - ~>
103
103
  - !ruby/object:Gem::Version
104
- version: '3.12'
104
+ version: '3.13'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ~>
110
110
  - !ruby/object:Gem::Version
111
- version: '3.12'
111
+ version: '3.13'
112
112
  description: |-
113
113
  Vlad the Deployer's sexy brainchild is rake-remote_task, extending
114
114
  Rake with remote task goodness.
@@ -154,10 +154,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.2.1
157
+ rubygems_version: 2.4.5
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Vlad the Deployer's sexy brainchild is rake-remote_task, extending Rake with
161
161
  remote task goodness.
162
- test_files:
163
- - test/test_rake_remote_task.rb
162
+ test_files: []
metadata.gz.sig CHANGED
Binary file