win32-taskscheduler 1.0.9 → 1.0.10

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
  SHA256:
3
- metadata.gz: 6dbcf68915019eb0cfb32a2fdd4dc7b980dc5b51e9397c5c8dd3ad995a4ff7fc
4
- data.tar.gz: e7bc4c68a739975f08a6e726591804e48df0e9d8622d164fdc37818fb615b798
3
+ metadata.gz: 708456348a54a2c6be8ec93ab9902d108170ad0289ac17c2104b4dbbe43bfd0b
4
+ data.tar.gz: 3ba2b649ebf7f15bfe0e22b3f60d8462b925a26e0fb8277a4a5017647bf85a18
5
5
  SHA512:
6
- metadata.gz: b720b93bfa6fd8628872567f64a82bc6777a707cdf9b0e92de1aca4982b2aa9d79eea3e312cdb3e41e0e8695cb7a807a5e941b20fb9023777613604875993b65
7
- data.tar.gz: 6e66aa9252904dfc6ece10372b9c26ea433efbd7f1d20868b032e760a6b783487a14cbd915519f68c4af9b91f0a4a9a783bdf67ca1ae0a07ead4f0370e9d8564
6
+ metadata.gz: b2cf2048d079aaf38b865b8ff391bb09e7926006f743503b4a4322d84cfd7d814c40daf105dac9846109d45e1e43f153702e4e38ace8674cdebb9d46e85fd74a
7
+ data.tar.gz: 5e5e2c0fb0c1f45e90a19c7b50477958d18416a148a5ce16488121e06e947cdd2c7078a257847b4ff9a5e8b74351e0cc289e5ac7f6ae664261f2eaa044199095
@@ -4,36 +4,39 @@ Note: this log contains only changes from win32-taskscheduler release 0.4.0 and
4
4
  -- it does not contain the changes from prior releases. To view change history
5
5
  prior to release 0.4.0, please visit the [source repository](https://github.com/chef/win32-taskscheduler/commits).
6
6
 
7
- <!-- latest_release 1.0.9 -->
8
- ## [win32-taskscheduler-1.0.9](https://github.com/chef/win32-taskscheduler/tree/win32-taskscheduler-1.0.9) (2018-07-23)
7
+ <!-- latest_release 1.0.10 -->
8
+ ## [win32-taskscheduler-1.0.10](https://github.com/chef/win32-taskscheduler/tree/win32-taskscheduler-1.0.10) (2018-07-24)
9
9
 
10
10
  #### Merged Pull Requests
11
- - Fix priority should return unique value. [#60](https://github.com/chef/win32-taskscheduler/pull/60) ([Vasu1105](https://github.com/Vasu1105))
11
+ - Fix exists? method breaking task full path search [#62](https://github.com/chef/win32-taskscheduler/pull/62) ([Vasu1105](https://github.com/Vasu1105))
12
12
  <!-- latest_release -->
13
13
 
14
- <!-- release_rollup since=1.0.2 -->
15
- ### Changes since 1.0.2 release
14
+ <!-- release_rollup since=1.0.9 -->
15
+ ### Changes since 1.0.9 release
16
16
 
17
17
  #### Merged Pull Requests
18
- - Fix priority should return unique value. [#60](https://github.com/chef/win32-taskscheduler/pull/60) ([Vasu1105](https://github.com/Vasu1105)) <!-- 1.0.9 -->
19
- - Add DisallowStartIfOnBatteries and StopIfGoingOnBatteries task configs [#61](https://github.com/chef/win32-taskscheduler/pull/61) ([dheerajd-msys](https://github.com/dheerajd-msys)) <!-- 1.0.8 -->
20
- - [MSYS-827] Add functional test cases [#58](https://github.com/chef/win32-taskscheduler/pull/58) ([Nimesh-Msys](https://github.com/Nimesh-Msys)) <!-- 1.0.7 -->
21
- - Remove the Manifest file and add a gitignore file [#57](https://github.com/chef/win32-taskscheduler/pull/57) ([tas50](https://github.com/tas50)) <!-- 1.0.6 -->
22
- - Add github templates and codeowners file [#52](https://github.com/chef/win32-taskscheduler/pull/52) ([tas50](https://github.com/tas50)) <!-- 1.0.5 -->
23
- - Remove the cert [#53](https://github.com/chef/win32-taskscheduler/pull/53) ([tas50](https://github.com/tas50)) <!-- 1.0.4 -->
24
- - MSYS-835 Setup appveyor [#55](https://github.com/chef/win32-taskscheduler/pull/55) ([Vasu1105](https://github.com/Vasu1105)) <!-- 1.0.3 -->
18
+ - Fix exists? method breaking task full path search [#62](https://github.com/chef/win32-taskscheduler/pull/62) ([Vasu1105](https://github.com/Vasu1105)) <!-- 1.0.10 -->
25
19
  <!-- release_rollup -->
26
20
 
27
21
  <!-- latest_stable_release -->
22
+ ## [win32-taskscheduler-1.0.9](https://github.com/chef/win32-taskscheduler/tree/win32-taskscheduler-1.0.9) (2018-07-23)
23
+
24
+ #### Merged Pull Requests
25
+ - MSYS-835 Setup appveyor [#55](https://github.com/chef/win32-taskscheduler/pull/55) ([Vasu1105](https://github.com/Vasu1105))
26
+ - Remove the cert [#53](https://github.com/chef/win32-taskscheduler/pull/53) ([tas50](https://github.com/tas50))
27
+ - Add github templates and codeowners file [#52](https://github.com/chef/win32-taskscheduler/pull/52) ([tas50](https://github.com/tas50))
28
+ - Remove the Manifest file and add a gitignore file [#57](https://github.com/chef/win32-taskscheduler/pull/57) ([tas50](https://github.com/tas50))
29
+ - [MSYS-827] Add functional test cases [#58](https://github.com/chef/win32-taskscheduler/pull/58) ([Nimesh-Msys](https://github.com/Nimesh-Msys))
30
+ - Add DisallowStartIfOnBatteries and StopIfGoingOnBatteries task configs [#61](https://github.com/chef/win32-taskscheduler/pull/61) ([dheerajd-msys](https://github.com/dheerajd-msys))
31
+ - Fix priority should return unique value. [#60](https://github.com/chef/win32-taskscheduler/pull/60) ([Vasu1105](https://github.com/Vasu1105))
32
+ <!-- latest_stable_release -->
33
+
28
34
  ## [win32-taskscheduler-1.0.2](https://github.com/chef/win32-taskscheduler/tree/win32-taskscheduler-1.0.2) (2018-06-13)
29
35
  - Fix for exists? method returning false for task without full path. [#43](https://github.com/chef/win32-taskscheduler/pull/43)([#Vasu1105](https://github.com/Vasu1105))
30
36
  - Fix to set user information at the time of creation of task. [#42](https://github.com/chef/win32-taskscheduler/pull/42)([#Vasu1105](https://github.com/Vasu1105))
31
37
  - Fix exists? method to find task in given path and if path or folder not present return false. [#40](https://github.com/chef/win32-taskscheduler/pull/40)([#Vasu1105](https://github.com/Vasu1105))
32
38
  - Fix for undefined method nil:Nilclass error when force flag is passed to create folder. [#32](https://github.com/chef/win32-taskscheduler/pull/32)([#Vasu1105](https://github.com/Vasu1105))
33
39
 
34
-
35
- <!-- latest_stable_release -->
36
-
37
40
  ## [v0.4.1](https://github.com/chef/win32-taskscheduler/tree/win32-taskscheduler-0.4.1) (15-May-2018)
38
41
  - Fix the issue of "no mapping" while creating Windows task for SYSTEM USERS. [#30](https://github.com/chef/win32-taskscheduler/pull/30) ([#NAshwini](https://github.com/NAshwini))
39
42
  - Fix for not to set start time if not set if its 0000-00-00T00:00:00 [#29][(https://github.com/chef/win32-taskscheduler/pull/29) ([#Vasu1105](https://github.com/Vasu1105))
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.9
1
+ 1.0.10
@@ -199,9 +199,7 @@ module Win32
199
199
  path = nil
200
200
  task_name = nil
201
201
 
202
- # Used the splat operator to put all folder elements into path and leave only the task name`
203
202
  if full_task_path.include?("\\")
204
- full_task_path = root_path + full_task_path
205
203
  *path, task_name = full_task_path.split('\\')
206
204
  else
207
205
  task_name = full_task_path
@@ -1,6 +1,6 @@
1
1
  module Win32
2
2
  class TaskScheduler
3
3
  # The version of the win32-taskscheduler library
4
- VERSION = '1.0.9'.freeze
4
+ VERSION = '1.0.10'.freeze
5
5
  end
6
6
  end
@@ -110,7 +110,7 @@ RSpec.describe Win32::TaskScheduler, :windows_only do
110
110
 
111
111
  it 'at nested folder' do
112
112
  @ts = Win32::TaskScheduler.new(@task, @trigger, folder, force)
113
- task = folder + '\\' + @task
113
+ task = @test_path + folder + '\\' + @task
114
114
  expect(@ts.exists?(task)).to be_truthy
115
115
  end
116
116
  end
@@ -72,7 +72,7 @@ RSpec.describe Win32::TaskScheduler, :windows_only do
72
72
  end
73
73
 
74
74
  it 'Does not require root to be appended' do
75
- task = @folder + '\\' + @task
75
+ task = @test_path + @folder + '\\' + @task
76
76
  expect(@ts.exists?(task)).to be_falsey
77
77
  end
78
78
  end
@@ -85,7 +85,7 @@ RSpec.describe Win32::TaskScheduler, :windows_only do
85
85
 
86
86
  it 'Returns true for existing folder' do
87
87
  @ts = Win32::TaskScheduler.new(@task, @trigger, folder, force)
88
- task = folder + '\\' + @task
88
+ task = @test_path + folder + '\\' + @task
89
89
  expect(@ts.exists?(task)).to be_truthy
90
90
  end
91
91
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32-taskscheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Park Heesob
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-07-23 00:00:00.000000000 Z
12
+ date: 2018-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi