sys-admin 1.7.0 → 1.7.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 99eafdabb409a5f068337908f24ff54f7ec71c1b
4
- data.tar.gz: 4596acd0951f39bdb26a8a9c24319a35a5f52ecc
2
+ SHA256:
3
+ metadata.gz: 219597639587e8c6d43f3a6d638d7f3ad11de0d3ea7cb2a1754e424f939b7622
4
+ data.tar.gz: 8d91cbd9e39bdb7ab4dc7f9ba4dc854b093de06b02028aa5934f27d3255e4bd2
5
5
  SHA512:
6
- metadata.gz: 84af367e19c13a4e1ee0e1f1cc716f6fdb744d2d870207b1848333649d44a2ced3dd302acab2c5939c38343a50c74005cf89fba038326408914d69349d10aaba
7
- data.tar.gz: 6a5c585230206ca94a8350a26c12ed0a0bef38e3de96dc2d62fd0873bfe4a8583c7945d1f70e3670324659aa51e0c651e4a5eb5a38be692780de25aa9de37b8e
6
+ metadata.gz: 4da726426d1300cf1cc0d18f3149c347d52e290542de35d81a7a0b8a036ea2724acbb5e6d22af10939ec12862ef87be46ecc473bcd83a7439f486bc5eb9b5aac
7
+ data.tar.gz: 494f981d6621a9f8b0fe25e9bb759e41b8ad0a3c35039ee907ce84ead9630f34f1c24e9fb3369b58756717854e1454ca9044665f1635e03096b605ade0e6e7ad
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,168 +1,188 @@
1
- == 1.7.0 - 21-Feb-2018
2
- * Changed the license to Apache 2.0.
3
- * VERSION constant is now frozen.
4
- * Ignore dependency warnings in gem:create task.
5
- * Minor README updates.
6
- * Updated cert.
7
-
8
- == 1.6.4 - 6-Sep-2015
9
- * Added a sys-admin.rb file for convenience.
10
- * Set VERSION in a single place.
11
- * Assume Rubygems 2.x for Rakefile tasks.
12
- * This gem is now signed.
13
-
14
- == 1.6.3 - 8-Mar-2014
15
- * The Admin#get_group method now handles groups with very large numbers
16
- of members more robustly.
17
-
18
- == 1.6.2 - 11-Feb-2014
19
- * The User#gid method is now supported on MS Windows. It returns the user's
20
- primary group ID.
21
-
22
- == 1.6.1 - 24-Jan-2014
23
- * Added the Admin.add_group_member and Admin.remove_group member methods. These
24
- let you add a user to a specific group. Thanks go to Alexey Kolyanov for the
25
- idea and the code.
26
- * Modified the Admin.configure_user method so that you don't need to know the
27
- old password. Just pass a single string argument for the new password.
28
- * Fixed a potential encoding issue for the Admin.get_login method on JRuby.
29
- * Updated the gem:create task in the Rakefile.
30
- * Added rake as a development dependency.
31
-
32
- == 1.6.0 - 5-Jan-2013
33
- * Converted code to use FFI. This mostly only affects the unix flavors.
34
- * The Admin.users and Admin.groups methods no longer accept a block.
35
- * Some test suite updates.
36
- * Because all code is now pure Ruby, there is longer any need for two
37
- separate gems. There is now a single, unified gem that works on all
38
- supported platforms.
39
-
40
- == 1.5.6 - 30-Jul-2011
41
- * Fixed issue for non-gnu platforms where it would use the wrong function
42
- prototype because the Ruby core team took it upon themselves to explicitly
43
- defined _GNU_SOURCE in config.h in 1.8.7 and later for reasons that baffle me.
44
- * Some tests on Windows are now skipped unless run with elevated security.
45
-
46
- == 1.5.5 - 5-Jul-2011
47
- * Modified lastlog handling, and ignore getpwent_r and getgrent_r, on AIX.
48
- Thanks go to Rick Ohnemus for the spot and patches.
49
- * Explicitly set spec.cpu on Windows to 'universal' in the gem creation task.
50
- * Fixed a bug in the User.get_login and User.get_group methods where the query
51
- being generated was incorrect if no options were passed. Thanks go to
52
- Matthew Brown for the spot.
53
-
54
- == 1.5.4 - 7-Oct-2010
55
- * Prefer the getlastlogx() function over lastlog() where supported.
56
-
57
- == 1.5.3 - 6-Oct-2010
58
- * Refactored the Rakefile. The old installation tasks have been replaced
59
- with gem build and install tasks. In addition, the platform handling has
60
- been updated for MS Windows.
61
- * Portions of the gemspec have been moved into the Rakefile gem tasks.
62
- * Deploying the mingw gem by default for MS Windows now.
63
-
64
- == 1.5.2 - 2-Aug-2009
65
- * Now compatible with Ruby 1.9.x.
66
- * Added test-unit as a development dependency.
67
-
68
- == 1.5.1 - 23-Jul-2009
69
- * Added the User#dir attribute. This attribute contains a user's home
70
- directory if set, or nil if it isn't.
71
- * User objects returned by the Admin.users method now include the uid.
72
- Previously only the Admin.get_user method set it.
73
- * Added win32-security as a dependency.
74
- * Changed license to Artistic 2.0.
75
-
76
- == 1.5.0 - 29-Mar-2009
77
- * INTERFACE CHANGE (WINDOWS ONLY): The interface for MS Windows has undergone
78
- a radical change. Most methods now accept a hash of options that are
79
- passed directly to the underlying WMI class. Please see the documentation
80
- for details.
81
- * Now works on various BSD flavors.
82
- * Added the User#groups method. This returns an array of groups that the
83
- user belongs to. Suggestion inspired by Gonzalo Garramuno.
84
- * Added the Group#members method. The returns an array of users that the
85
- group contains.
86
- * Changed User#class to User#access_class for UNIX flavors to avoid
87
- conflicts with the Ruby core Object method.
88
- * Added more tests and renamed the test files.
89
- * Removed an unnecessary function call where a platform might try to
90
- get lastlog information even if the lastlog.h or utmp.h headers couldn't
91
- be found.
92
-
93
- == 1.4.4 - 19-Nov-2008
94
- * Added the User#uid method for MS Windows (which is just the user's relative
95
- identifier).
96
- * Now requires test-unit 2.x.
97
- * Some updates to the test suite to take advantage of test-unit 2.x features.
98
- * Some minor gemspec tweaks.
99
-
100
- == 1.4.3 - 2-Mar-2008
101
- * The block form of Admin.users now properly ensures that endpwent() is
102
- called. Likewise, the block form of Admin.groups now properly ensures
103
- that endgrent() is called. This would only have been an issue if you
104
- broke out of the block before it terminated.
105
- * The AdminError class is now Admin::Error.
106
- * Some internal directory layout changes.
107
-
108
- == 1.4.2 - 26-Jun-2007
109
- * Fixed a bug in the Admin.get_login method where it would return junk
110
- if the underlying getlogin() function failed (Unix). Thanks go to Gonzalo
111
- Garramuno for the spot. This bug also resulted in some refactoring of the
112
- underlying C code.
113
- * Removed the install.rb file. The logic in that file has been moved directly
114
- into the Rakefile.
115
-
116
- == 1.4.1 - 21-Mar-2007
117
- * Bug fix for OS X. Thanks go to an anonymous user for the spot.
118
- * Added a Rakefile. Building, testing and installing should now use the
119
- Rake tasks (for non-gem installs).
120
- * Much more inline documentation, especially for User and Group attributes.
121
-
122
- == 1.4.0 - 20-Jan-2007
123
- * Added the following methods: add_local_user, config_local_user,
124
- delete_local_user, add_global_group, config_global_group, and
125
- delete_global_group. MS Windows only at the moment.
126
- * Added corresponding tests.
127
- * Added much more inline documentation.
128
- * Major refactoring of the get_lastlog_info helper function in admin.h. This
129
- fixed a major bug in some flavors of Linux where the Admin.users method
130
- could go into an infinite loop. It also fixed some minor bugs where console
131
- and host values were sometimes filled with junk characters.
132
- * Added the User#change attribute, and a check for the pw_change struct member
133
- in the extconf.rb file.
134
- * The User#expire attribute is now handled as a Time object instead of an
135
- integer.
136
- * Renamed tc_win32.rb to tc_windows.rb
137
-
138
- == 1.3.1 - 29-Jun-2005
139
- * Fixed a bug where the inability to read the lastlog file caused an error.
140
- From now on that error is ignored, and the lastlog attributes of the User
141
- object are set to nil.
142
- * Added a beta version of Admin.delete_user (Windows only).
143
-
144
- == 1.3.0 - 3-Jun-2005
145
- * Bug fixes for Linux.
146
- * Removed the version.h file - no longer needed since the Win32 version is
147
- pure Ruby.
148
-
149
- == 1.2.0 - 30-Apr-2005
150
- * Replaced the Win32 version with a pure Ruby version that uses Win32API and
151
- win32ole + WMI.
152
- * The LocalGroup class no longer exists in the Win32 version. Instead, it is
153
- now an attribute of a Group object. The issue was forced by WMI.
154
- * The default for users and groups on Win32 systems is now local rather than
155
- global. See the documentation for why you probably don't want to iterate
156
- over global accounts.
157
- * Corresponding doc changes and test suite changes.
158
-
159
- == 1.1.0 - 1-Apr-2005
160
- * Fixed bug where a segfault could occur when trying to retrieve a user or
161
- group by an ID that didn't exist (Unix).
162
- * Added tests for intentional failures.
163
- * Added lastlog information tothe User class (Unix).
164
- * Modified the way User objects are created internally (Unix).
165
- * Fixed a bug in the User#shell attribute (Unix).
166
-
167
- == 1.0.0 - 25-Mar-2005
168
- * Initial release
1
+ ## 1.7.5 - 30-Dec-2020
2
+ * Switched from rdoc to markdown since github isn't rendering rdoc properly.
3
+
4
+ ## 1.7.4 - 19-Mar-2020
5
+ * Properly include a LICENSE file as per the Apache-2.0 license.
6
+
7
+ ## 1.7.3 - 16-Jan-2020
8
+ * Add explicit .rdoc extension to various rdoc files so that they show up
9
+ better in github.
10
+ * Some formatting adjustments to the rdoc files.
11
+
12
+ ## 1.7.2 - 28-Jan-2019
13
+ * Fixed the license name, was missing a hyphen.
14
+ * Fixed the homepage in the gemspec.
15
+
16
+ ## 1.7.1 - 19-Mar-2018
17
+ * Fixed deprecation warnings in tests.
18
+ * Added gemspec metadata.
19
+ * Updated cert again, this one should last 10 years.
20
+
21
+ ## 1.7.0 - 21-Feb-2018
22
+ * Changed the license to Apache 2.0.
23
+ * VERSION constant is now frozen.
24
+ * Ignore dependency warnings in gem:create task.
25
+ * Minor README updates.
26
+ * Updated cert.
27
+
28
+ ## 1.6.4 - 6-Sep-2015
29
+ * Added a sys-admin.rb file for convenience.
30
+ * Set VERSION in a single place.
31
+ * Assume Rubygems 2.x for Rakefile tasks.
32
+ * This gem is now signed.
33
+
34
+ ## 1.6.3 - 8-Mar-2014
35
+ * The Admin#get_group method now handles groups with very large numbers
36
+ of members more robustly.
37
+
38
+ ## 1.6.2 - 11-Feb-2014
39
+ * The User#gid method is now supported on MS Windows. It returns the user's
40
+ primary group ID.
41
+
42
+ ## 1.6.1 - 24-Jan-2014
43
+ * Added the Admin.add_group_member and Admin.remove_group member methods. These
44
+ let you add a user to a specific group. Thanks go to Alexey Kolyanov for the
45
+ idea and the code.
46
+ * Modified the Admin.configure_user method so that you don't need to know the
47
+ old password. Just pass a single string argument for the new password.
48
+ * Fixed a potential encoding issue for the Admin.get_login method on JRuby.
49
+ * Updated the gem:create task in the Rakefile.
50
+ * Added rake as a development dependency.
51
+
52
+ ## 1.6.0 - 5-Jan-2013
53
+ * Converted code to use FFI. This mostly only affects the unix flavors.
54
+ * The Admin.users and Admin.groups methods no longer accept a block.
55
+ * Some test suite updates.
56
+ * Because all code is now pure Ruby, there is longer any need for two
57
+ separate gems. There is now a single, unified gem that works on all
58
+ supported platforms.
59
+
60
+ ## 1.5.6 - 30-Jul-2011
61
+ * Fixed issue for non-gnu platforms where it would use the wrong function
62
+ prototype because the Ruby core team took it upon themselves to explicitly
63
+ defined _GNU_SOURCE in config.h in 1.8.7 and later for reasons that baffle me.
64
+ * Some tests on Windows are now skipped unless run with elevated security.
65
+
66
+ ## 1.5.5 - 5-Jul-2011
67
+ * Modified lastlog handling, and ignore getpwent_r and getgrent_r, on AIX.
68
+ Thanks go to Rick Ohnemus for the spot and patches.
69
+ * Explicitly set spec.cpu on Windows to 'universal' in the gem creation task.
70
+ * Fixed a bug in the User.get_login and User.get_group methods where the query
71
+ being generated was incorrect if no options were passed. Thanks go to
72
+ Matthew Brown for the spot.
73
+
74
+ ## 1.5.4 - 7-Oct-2010
75
+ * Prefer the getlastlogx() function over lastlog() where supported.
76
+
77
+ ## 1.5.3 - 6-Oct-2010
78
+ * Refactored the Rakefile. The old installation tasks have been replaced
79
+ with gem build and install tasks. In addition, the platform handling has
80
+ been updated for MS Windows.
81
+ * Portions of the gemspec have been moved into the Rakefile gem tasks.
82
+ * Deploying the mingw gem by default for MS Windows now.
83
+
84
+ ## 1.5.2 - 2-Aug-2009
85
+ * Now compatible with Ruby 1.9.x.
86
+ * Added test-unit as a development dependency.
87
+
88
+ ## 1.5.1 - 23-Jul-2009
89
+ * Added the User#dir attribute. This attribute contains a user's home
90
+ directory if set, or nil if it isn't.
91
+ * User objects returned by the Admin.users method now include the uid.
92
+ Previously only the Admin.get_user method set it.
93
+ * Added win32-security as a dependency.
94
+ * Changed license to Artistic 2.0.
95
+
96
+ ## 1.5.0 - 29-Mar-2009
97
+ * INTERFACE CHANGE (WINDOWS ONLY): The interface for MS Windows has undergone
98
+ a radical change. Most methods now accept a hash of options that are
99
+ passed directly to the underlying WMI class. Please see the documentation
100
+ for details.
101
+ * Now works on various BSD flavors.
102
+ * Added the User#groups method. This returns an array of groups that the
103
+ user belongs to. Suggestion inspired by Gonzalo Garramuno.
104
+ * Added the Group#members method. The returns an array of users that the
105
+ group contains.
106
+ * Changed User#class to User#access_class for UNIX flavors to avoid
107
+ conflicts with the Ruby core Object method.
108
+ * Added more tests and renamed the test files.
109
+ * Removed an unnecessary function call where a platform might try to
110
+ get lastlog information even if the lastlog.h or utmp.h headers couldn't
111
+ be found.
112
+
113
+ ## 1.4.4 - 19-Nov-2008
114
+ * Added the User#uid method for MS Windows (which is just the user's relative
115
+ identifier).
116
+ * Now requires test-unit 2.x.
117
+ * Some updates to the test suite to take advantage of test-unit 2.x features.
118
+ * Some minor gemspec tweaks.
119
+
120
+ ## 1.4.3 - 2-Mar-2008
121
+ * The block form of Admin.users now properly ensures that endpwent() is
122
+ called. Likewise, the block form of Admin.groups now properly ensures
123
+ that endgrent() is called. This would only have been an issue if you
124
+ broke out of the block before it terminated.
125
+ * The AdminError class is now Admin::Error.
126
+ * Some internal directory layout changes.
127
+
128
+ ## 1.4.2 - 26-Jun-2007
129
+ * Fixed a bug in the Admin.get_login method where it would return junk
130
+ if the underlying getlogin() function failed (Unix). Thanks go to Gonzalo
131
+ Garramuno for the spot. This bug also resulted in some refactoring of the
132
+ underlying C code.
133
+ * Removed the install.rb file. The logic in that file has been moved directly
134
+ into the Rakefile.
135
+
136
+ ## 1.4.1 - 21-Mar-2007
137
+ * Bug fix for OS X. Thanks go to an anonymous user for the spot.
138
+ * Added a Rakefile. Building, testing and installing should now use the
139
+ Rake tasks (for non-gem installs).
140
+ * Much more inline documentation, especially for User and Group attributes.
141
+
142
+ ## 1.4.0 - 20-Jan-2007
143
+ * Added the following methods: add_local_user, config_local_user,
144
+ delete_local_user, add_global_group, config_global_group, and
145
+ delete_global_group. MS Windows only at the moment.
146
+ * Added corresponding tests.
147
+ * Added much more inline documentation.
148
+ * Major refactoring of the get_lastlog_info helper function in admin.h. This
149
+ fixed a major bug in some flavors of Linux where the Admin.users method
150
+ could go into an infinite loop. It also fixed some minor bugs where console
151
+ and host values were sometimes filled with junk characters.
152
+ * Added the User#change attribute, and a check for the pw_change struct member
153
+ in the extconf.rb file.
154
+ * The User#expire attribute is now handled as a Time object instead of an
155
+ integer.
156
+ * Renamed tc_win32.rb to tc_windows.rb
157
+
158
+ ## 1.3.1 - 29-Jun-2005
159
+ * Fixed a bug where the inability to read the lastlog file caused an error.
160
+ From now on that error is ignored, and the lastlog attributes of the User
161
+ object are set to nil.
162
+ * Added a beta version of Admin.delete_user (Windows only).
163
+
164
+ ## 1.3.0 - 3-Jun-2005
165
+ * Bug fixes for Linux.
166
+ * Removed the version.h file - no longer needed since the Win32 version is
167
+ pure Ruby.
168
+
169
+ ## 1.2.0 - 30-Apr-2005
170
+ * Replaced the Win32 version with a pure Ruby version that uses Win32API and
171
+ win32ole + WMI.
172
+ * The LocalGroup class no longer exists in the Win32 version. Instead, it is
173
+ now an attribute of a Group object. The issue was forced by WMI.
174
+ * The default for users and groups on Win32 systems is now local rather than
175
+ global. See the documentation for why you probably don't want to iterate
176
+ over global accounts.
177
+ * Corresponding doc changes and test suite changes.
178
+
179
+ ## 1.1.0 - 1-Apr-2005
180
+ * Fixed bug where a segfault could occur when trying to retrieve a user or
181
+ group by an ID that didn't exist (Unix).
182
+ * Added tests for intentional failures.
183
+ * Added lastlog information tothe User class (Unix).
184
+ * Modified the way User objects are created internally (Unix).
185
+ * Fixed a bug in the User#shell attribute (Unix).
186
+
187
+ ## 1.0.0 - 25-Mar-2005
188
+ * Initial release
data/LICENSE ADDED
@@ -0,0 +1,177 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS