win32-taskscheduler 0.3.2 → 0.4.0

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.
@@ -2,15 +2,14 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'win32-taskscheduler'
5
- spec.version = '0.3.2'
5
+ spec.version = '0.4.0'
6
6
  spec.authors = ['Park Heesob', 'Daniel J. Berger']
7
7
  spec.license = 'Artistic 2.0'
8
8
  spec.email = 'djberg96@gmail.com'
9
- spec.homepage = 'http://github.com/djberg96/win32-taskscheduler'
9
+ spec.homepage = 'http://github.com/chef/win32-taskscheduler'
10
10
  spec.summary = 'A library for the Windows task scheduler'
11
11
  spec.test_files = Dir['test/test*']
12
12
  spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
- spec.cert_chain = ['certs/djberg96_pub.pem']
14
13
 
15
14
  spec.add_dependency('ffi')
16
15
  spec.add_dependency('structured_warnings')
@@ -18,10 +17,12 @@ Gem::Specification.new do |spec|
18
17
  spec.add_development_dependency('test-unit')
19
18
  spec.add_development_dependency('rake')
20
19
  spec.add_development_dependency('win32-security')
20
+ spec.add_development_dependency "rspec", "~>3.0"
21
21
 
22
22
  spec.extra_rdoc_files = [
23
23
  'README',
24
- 'CHANGES',
24
+ 'CHANGELOG.md',
25
+ 'RELEASE_NOTES.md',
25
26
  'MANIFEST',
26
27
  ]
27
28
 
metadata CHANGED
@@ -1,37 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32-taskscheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Park Heesob
8
8
  - Daniel J. Berger
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain:
12
- - |
13
- -----BEGIN CERTIFICATE-----
14
- MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
15
-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F9tu4klkTga3gxP3P
31
- y3zoX1VttxnIZBojRM/s2A7c2aubMH2SVbXMR3ccVkB9XbYKl1OvCe7q85xEHit2
32
- Kbpico5nnyHqf7YSPmvZe8bCU94=
33
- -----END CERTIFICATE-----
34
- date: 2017-03-18 00:00:00.000000000 Z
11
+ cert_chain: []
12
+ date: 2018-04-05 00:00:00.000000000 Z
35
13
  dependencies:
36
14
  - !ruby/object:Gem::Dependency
37
15
  name: ffi
@@ -103,6 +81,20 @@ dependencies:
103
81
  - - ">="
104
82
  - !ruby/object:Gem::Version
105
83
  version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rspec
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '3.0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '3.0'
106
98
  description: |2
107
99
  The win32-taskscheduler library provides an interface to the MS Windows
108
100
  Task Scheduler. With this interface you can create new scheduled tasks,
@@ -112,27 +104,37 @@ executables: []
112
104
  extensions: []
113
105
  extra_rdoc_files:
114
106
  - README
115
- - CHANGES
107
+ - CHANGELOG.md
108
+ - RELEASE_NOTES.md
116
109
  - MANIFEST
117
110
  files:
118
111
  - certs
119
112
  - certs/djberg96_pub.pem
120
- - CHANGES
113
+ - CHANGELOG.md
121
114
  - examples
122
115
  - examples/taskscheduler_example.rb
116
+ - Gemfile
123
117
  - lib
124
118
  - lib/win32
125
119
  - lib/win32/taskscheduler.rb
126
120
  - lib/win32/windows
121
+ - lib/win32/windows/constants.rb
127
122
  - lib/win32/windows/helper.rb
123
+ - lib/win32/windows/time_calc_helper.rb
128
124
  - lib/win32-taskscheduler.rb
129
125
  - MANIFEST
130
126
  - Rakefile
131
127
  - README
128
+ - RELEASE_NOTES.md
129
+ - spec
130
+ - spec/spec_helper.rb
131
+ - spec/win32
132
+ - spec/win32/windows
133
+ - spec/win32/windows/time_calc_helper_spec.rb
132
134
  - test
133
135
  - test/test_taskscheduler.rb
134
136
  - win32-taskscheduler.gemspec
135
- homepage: http://github.com/djberg96/win32-taskscheduler
137
+ homepage: http://github.com/chef/win32-taskscheduler
136
138
  licenses:
137
139
  - Artistic 2.0
138
140
  metadata: {}
@@ -152,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
154
  version: '0'
153
155
  requirements: []
154
156
  rubyforge_project:
155
- rubygems_version: 2.6.8
157
+ rubygems_version: 2.6.14
156
158
  signing_key:
157
159
  specification_version: 4
158
160
  summary: A library for the Windows task scheduler
Binary file
data.tar.gz.sig DELETED
Binary file
data/CHANGES DELETED
@@ -1,108 +0,0 @@
1
- == 0.3.2 - 18-Mar-2018
2
- * Use the block form for FFI::MemoryPointer in the error message helper
3
- function. Thanks go to Ethan Brown for the suggestion.
4
- * Fixed a potential bug in the helper module, which was also renamed to
5
- help prevent any name collisions.
6
- * Added the win32-taskscheduler.rb file for convenience.
7
- * Added the configure_settings method.
8
- * Added the configure_registration_info method.
9
- * Added the description and description= aliases for comments.
10
- * Added the author and author= aliases for creator.
11
- * Some internal cleanup, moving common code to private methods.
12
- * Rakefile now assumes Rubygems 2.0 or later for tasks.
13
- * Gemspec cleanup, updated home page, removed old rubyforge_project reference.
14
- * This gem is now signed.
15
-
16
- == 0.3.1 - 6-Jul-2014
17
- * Added FFI as a dependency. Thanks go to Maxime Lapointe for the spot.
18
- * Some updates to the win_error helper method. Thanks go to Ethan J. Brown
19
- for the suggestions.
20
-
21
- == 0.3.0 - 15-Jan-2014
22
- * Rewritten to use Win32OLE instead of using wrapping the C API. Benefits
23
- include working on Windows Vista or later, and working with JRuby.
24
- * Modified the constructor to accept 3rd and 4th arguments. These indicate
25
- which folder to use, and whether or not to create it if it doesn't exist.
26
- * The TaskScheduler#save method is now no longer necessary. It is retained
27
- for backwards compatibility, but will raise a deprecation warning. In this
28
- version simply calling TaskScheduler#activate will implement the task.
29
- * Added support for the AT_SYSTEMSTART, AT_LOGON and ON_IDLE trigger types.
30
- * Now requires the structured_warnings gem.
31
- * Removed the doc directory and separate documentation file. Everything is
32
- inlined now. There's still an example under the "examples" directory, too.
33
- * Added test-unit, rake, and win32-security as development dependencies.
34
- These are needed for testing only.
35
-
36
- == 0.2.2 - 29-Feb-2012
37
- * Moved some include statements inside the TaskScheduler class to avoid
38
- polluting Object. Thanks go to Josh Cooper for the spot and patch.
39
- * Minor formatting tweaks to silence 1.9 warnings.
40
-
41
- == 0.2.1 - 8-Oct-2011
42
- * Fixed a bug that would not allow task to run as SYSTEM. Thanks go to
43
- Josh cooper for the spot and patch.
44
- * Fixed a bug in new_work_item that would cause it to crash if you tried
45
- to create a work item that already existed. An error is now raised instead.
46
- Thanks go to Pete Higgins for the spot.
47
- * The set_trigger and trigger= methods now internally transform and validate
48
- the trigger hash in the same manner as new_work_item. Thanks again go to
49
- Pete Higgins.
50
- * Cleaned up the repo. The C source files have been removed from the main
51
- repository (and this gem). They are in a separate branch on github for
52
- anyone who misses them.
53
- * Refactored the Rakefile, removing tasks related to the old C source files,
54
- and added tasks for cleaning, building and installing a gem.
55
- * Updated the README file, eliminating references to anything that was only
56
- related to the older C version.
57
-
58
- == 0.2.0 - 19-Jun-2009
59
- * Rewritten in pure Ruby!
60
- * The TaskScheduler::ONCE constant is now a valid trigger type. Thanks go to
61
- Uri Iurgel for the spot and patch.
62
- * Added the TaskScheduler#exists? method.
63
- * Added the TaskScheduler#tasks alias for the TaskScheduler#enum method.
64
- * The TaskScheduler#new_work_item method now accepts symbols as well as
65
- strings for hash keys, and ignores case. Also, the keys are now validated.
66
- * Renamed the example file and test file.
67
- * Added the 'example' Rake task.
68
- * Fixed some code in the README synopsis that was incorrect.
69
-
70
- == 0.1.0 - 11-May-2008
71
- * The TaskScheduler#save instance method now accepts an optional file name.
72
- * Most of the TaskScheduler setter methods now return the value specified
73
- instead of true.
74
- * Removed the RUN_ONLY_IF_DOCKED and RUN_IF_CONNECTED_TO_INTERNET constants.
75
- The MSDN docs say that they are unused.
76
- * Added more documentation. Much more rdoc friendly now.
77
- * Added many more tests.
78
- * Better type handling for bad arguments.
79
- * Added a Rakefile with tasks for building, installation and testing.
80
- * Added a gemspec.
81
- * Inlined the rdoc documentation.
82
- * Internal project reorganization and code cleanup.
83
-
84
- == 0.0.3 - 1-Mar-2005
85
- * Bug fix for the bitFieldToHumanDays() internal function.
86
- * Moved the 'examples' directory to the toplevel directory.
87
- * Made the CHANGES and README files rdoc friendly.
88
- * Minor updates to taskscheduler.h.
89
-
90
- == 0.0.2 - 04-Aug-2004
91
- * Now uses the newer allocation framework and replaced all instances of the
92
- deprecated STR2CSTR() function with StringValuePtr(). This means that, as
93
- of this release, Ruby 1.8.0 or later is required.
94
- * Modified the constructor to accept arguments. This is just some sugar for
95
- creating a new task item in one call instead of two.
96
- * The argument to trigger= now must be a hash. The same goes for the 'type'
97
- sub-hash.
98
- * Added the add_trigger() method. Actually, the C code for this method was
99
- already in place, I simply forgot to create a corresponding Ruby method
100
- for it.
101
- * Removed the create_trigger() method. This was really nothing more than an
102
- alias for trigger=(). I got confused somehow.
103
- * Test suite modified and many more tests added.
104
- * Documentation updates, including docs for a couple of methods that I had
105
- accidentally omitted previously.
106
-
107
- == 0.0.1 - 24-Apr-2004
108
- * Initial release
metadata.gz.sig DELETED
Binary file