augeas 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING +38 -46
  3. data/NEWS +3 -0
  4. data/README.rdoc +6 -1
  5. data/Rakefile +3 -3
  6. data/ext/augeas/extconf.rb +2 -0
  7. metadata +10 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83175d2769bbecbc9d667d76248ce9daeb1509c0
4
- data.tar.gz: 3ace049fba2187532e1a92b7bd66295b0ac1a8e8
3
+ metadata.gz: b71dd4532d404d0af0b17a7bfb2c87336386be5c
4
+ data.tar.gz: 11ba1ab7ff33b7e8fcdca35a31114b98f669ac26
5
5
  SHA512:
6
- metadata.gz: 605fb08bd96e35f914ea7f8cc1434ff829e9ca3ee5b54e48ad53e53fc6c0d5c36ff5ac3b64def3b7b3a3f440da5ec1c426dba91509be785fb5e99bef1305dfd6
7
- data.tar.gz: 716ce9819844f644ca88b8ccaaf1f4295313f32b4330d9d77c59890f8e6a345a3a89d959673629729a16494a67c361aa823df32b9ede2d987d6b0fdb5d0fa2e2
6
+ metadata.gz: 787431db47c11bab4ead53c061ad1d04d30570e73c81a6a71f25642cfd8ff9579e8041ae6dd7e0f27bc8ee533ef6705f33078acf902b282e5bbf859eeb5446a4
7
+ data.tar.gz: f02341ca9e1d9f42055381ba53698f5a7fc6510c3633870d40c15a114aad8315511c7a31876db18753b403521a7cfdff0bc3d50f019b16a9860342ca35e6bc2e
data/COPYING CHANGED
@@ -1,9 +1,8 @@
1
-
2
1
  GNU LESSER GENERAL PUBLIC LICENSE
3
2
  Version 2.1, February 1999
4
3
 
5
4
  Copyright (C) 1991, 1999 Free Software Foundation, Inc.
6
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7
6
  Everyone is permitted to copy and distribute verbatim copies
8
7
  of this license document, but changing it is not allowed.
9
8
 
@@ -23,8 +22,7 @@ specially designated software packages--typically libraries--of the
23
22
  Free Software Foundation and other authors who decide to use it. You
24
23
  can use it too, but we suggest you first think carefully about whether
25
24
  this license or the ordinary General Public License is the better
26
- strategy to use in any particular case, based on the explanations
27
- below.
25
+ strategy to use in any particular case, based on the explanations below.
28
26
 
29
27
  When we speak of free software, we are referring to freedom of use,
30
28
  not price. Our General Public Licenses are designed to make sure that
@@ -57,7 +55,7 @@ modified by someone else and passed on, the recipients should know
57
55
  that what they have is not the original version, so that the original
58
56
  author's reputation will not be affected by problems that might be
59
57
  introduced by others.
60
- ^L
58
+
61
59
  Finally, software patents pose a constant threat to the existence of
62
60
  any free program. We wish to make sure that a company cannot
63
61
  effectively restrict the users of a free program by obtaining a
@@ -89,9 +87,9 @@ libraries. However, the Lesser license provides advantages in certain
89
87
  special circumstances.
90
88
 
91
89
  For example, on rare occasions, there may be a special need to
92
- encourage the widest possible use of a certain library, so that it
93
- becomes a de-facto standard. To achieve this, non-free programs must
94
- be allowed to use the library. A more frequent case is that a free
90
+ encourage the widest possible use of a certain library, so that it becomes
91
+ a de-facto standard. To achieve this, non-free programs must be
92
+ allowed to use the library. A more frequent case is that a free
95
93
  library does the same job as widely used non-free libraries. In this
96
94
  case, there is little to gain by limiting the free library to free
97
95
  software only, so we use the Lesser General Public License.
@@ -113,7 +111,7 @@ modification follow. Pay close attention to the difference between a
113
111
  "work based on the library" and a "work that uses the library". The
114
112
  former contains code derived from the library, whereas the latter must
115
113
  be combined with the library in order to run.
116
- ^L
114
+
117
115
  GNU LESSER GENERAL PUBLIC LICENSE
118
116
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
119
117
 
@@ -138,8 +136,8 @@ included without limitation in the term "modification".)
138
136
  "Source code" for a work means the preferred form of the work for
139
137
  making modifications to it. For a library, complete source code means
140
138
  all the source code for all modules it contains, plus any associated
141
- interface definition files, plus the scripts used to control
142
- compilation and installation of the library.
139
+ interface definition files, plus the scripts used to control compilation
140
+ and installation of the library.
143
141
 
144
142
  Activities other than copying, distribution and modification are not
145
143
  covered by this License; they are outside its scope. The act of
@@ -218,7 +216,7 @@ instead of to this License. (If a newer version than version 2 of the
218
216
  ordinary GNU General Public License has appeared, then you can specify
219
217
  that version instead if you wish.) Do not make any other change in
220
218
  these notices.
221
- ^L
219
+
222
220
  Once this change is made in a given copy, it is irreversible for
223
221
  that copy, so the ordinary GNU General Public License applies to all
224
222
  subsequent copies and derivative works made from that copy.
@@ -269,7 +267,7 @@ Library will still fall under Section 6.)
269
267
  distribute the object code for the work under the terms of Section 6.
270
268
  Any executables containing that work also fall under Section 6,
271
269
  whether or not they are linked directly with the Library itself.
272
- ^L
270
+
273
271
  6. As an exception to the Sections above, you may also combine or
274
272
  link a "work that uses the Library" with the Library to produce a
275
273
  work containing portions of the Library, and distribute that work
@@ -305,10 +303,10 @@ of these things:
305
303
  the user installs one, as long as the modified version is
306
304
  interface-compatible with the version that the work was made with.
307
305
 
308
- c) Accompany the work with a written offer, valid for at least
309
- three years, to give the same user the materials specified in
310
- Subsection 6a, above, for a charge no more than the cost of
311
- performing this distribution.
306
+ c) Accompany the work with a written offer, valid for at
307
+ least three years, to give the same user the materials
308
+ specified in Subsection 6a, above, for a charge no more
309
+ than the cost of performing this distribution.
312
310
 
313
311
  d) If distribution of the work is made by offering access to copy
314
312
  from a designated place, offer equivalent access to copy the above
@@ -331,7 +329,7 @@ restrictions of other proprietary libraries that do not normally
331
329
  accompany the operating system. Such a contradiction means you cannot
332
330
  use both them and the Library together in an executable that you
333
331
  distribute.
334
- ^L
332
+
335
333
  7. You may place library facilities that are a work based on the
336
334
  Library side-by-side in a single library together with other library
337
335
  facilities not covered by this License, and distribute such a combined
@@ -372,7 +370,7 @@ subject to these terms and conditions. You may not impose any further
372
370
  restrictions on the recipients' exercise of the rights granted herein.
373
371
  You are not responsible for enforcing compliance by third parties with
374
372
  this License.
375
- ^L
373
+
376
374
  11. If, as a consequence of a court judgment or allegation of patent
377
375
  infringement or for any other reason (not limited to patent issues),
378
376
  conditions are imposed on you (whether by court order, agreement or
@@ -386,10 +384,9 @@ all those who receive copies directly or indirectly through you, then
386
384
  the only way you could satisfy both it and this License would be to
387
385
  refrain entirely from distribution of the Library.
388
386
 
389
- If any portion of this section is held invalid or unenforceable under
390
- any particular circumstance, the balance of the section is intended to
391
- apply, and the section as a whole is intended to apply in other
392
- circumstances.
387
+ If any portion of this section is held invalid or unenforceable under any
388
+ particular circumstance, the balance of the section is intended to apply,
389
+ and the section as a whole is intended to apply in other circumstances.
393
390
 
394
391
  It is not the purpose of this section to induce you to infringe any
395
392
  patents or other property right claims or to contest validity of any
@@ -407,11 +404,11 @@ be a consequence of the rest of this License.
407
404
 
408
405
  12. If the distribution and/or use of the Library is restricted in
409
406
  certain countries either by patents or by copyrighted interfaces, the
410
- original copyright holder who places the Library under this License
411
- may add an explicit geographical distribution limitation excluding those
412
- countries, so that distribution is permitted only in or among
413
- countries not thus excluded. In such case, this License incorporates
414
- the limitation as if written in the body of this License.
407
+ original copyright holder who places the Library under this License may add
408
+ an explicit geographical distribution limitation excluding those countries,
409
+ so that distribution is permitted only in or among countries not thus
410
+ excluded. In such case, this License incorporates the limitation as if
411
+ written in the body of this License.
415
412
 
416
413
  13. The Free Software Foundation may publish revised and/or new
417
414
  versions of the Lesser General Public License from time to time.
@@ -425,7 +422,7 @@ conditions either of that version or of any later version published by
425
422
  the Free Software Foundation. If the Library does not specify a
426
423
  license version number, you may choose any version ever published by
427
424
  the Free Software Foundation.
428
- ^L
425
+
429
426
  14. If you wish to incorporate parts of the Library into other free
430
427
  programs whose distribution conditions are incompatible with these,
431
428
  write to the author to ask for permission. For software which is
@@ -459,21 +456,19 @@ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
459
456
  DAMAGES.
460
457
 
461
458
  END OF TERMS AND CONDITIONS
462
- ^L
459
+
463
460
  How to Apply These Terms to Your New Libraries
464
461
 
465
462
  If you develop a new library, and you want it to be of the greatest
466
463
  possible use to the public, we recommend making it free software that
467
464
  everyone can redistribute and change. You can do so by permitting
468
- redistribution under these terms (or, alternatively, under the terms
469
- of the ordinary General Public License).
470
-
471
- To apply these terms, attach the following notices to the library.
472
- It is safest to attach them to the start of each source file to most
473
- effectively convey the exclusion of warranty; and each file should
474
- have at least the "copyright" line and a pointer to where the full
475
- notice is found.
465
+ redistribution under these terms (or, alternatively, under the terms of the
466
+ ordinary General Public License).
476
467
 
468
+ To apply these terms, attach the following notices to the library. It is
469
+ safest to attach them to the start of each source file to most effectively
470
+ convey the exclusion of warranty; and each file should have at least the
471
+ "copyright" line and a pointer to where the full notice is found.
477
472
 
478
473
  <one line to give the library's name and a brief idea of what it does.>
479
474
  Copyright (C) <year> <name of author>
@@ -490,21 +485,18 @@ notice is found.
490
485
 
491
486
  You should have received a copy of the GNU Lesser General Public
492
487
  License along with this library; if not, write to the Free Software
493
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
488
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
494
489
 
495
490
  Also add information on how to contact you by electronic and paper mail.
496
491
 
497
- You should also get your employer (if you work as a programmer) or
498
- your school, if any, to sign a "copyright disclaimer" for the library,
499
- if necessary. Here is a sample; alter the names:
492
+ You should also get your employer (if you work as a programmer) or your
493
+ school, if any, to sign a "copyright disclaimer" for the library, if
494
+ necessary. Here is a sample; alter the names:
500
495
 
501
496
  Yoyodyne, Inc., hereby disclaims all copyright interest in the
502
- library `Frob' (a library for tweaking knobs) written by James
503
- Random Hacker.
497
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
504
498
 
505
499
  <signature of Ty Coon>, 1 April 1990
506
500
  Ty Coon, President of Vice
507
501
 
508
502
  That's all there is to it!
509
-
510
-
data/NEWS CHANGED
@@ -1,3 +1,6 @@
1
+ 0.6.4 - 2015-04-09
2
+ - use pkg-config to lookup libxml2 header location
3
+
1
4
  0.6.3 - 2014-02-20
2
5
  - clean up, restore Ruby 1.8.7 compatibility in tests
3
6
 
@@ -39,7 +39,12 @@ startup; that allows setting up a custom transform.
39
39
  aug.get("/files/etc/aliases/*[name = 'postmaster']/value")
40
40
  end
41
41
 
42
-
42
+
43
+ == Build Dependencies
44
+
45
+ To build or install this gem manually, headers for libaugeas and libxml are
46
+ needed. Additionally the pkg-config tool has to be installed.
47
+
43
48
  == Deprecation Warning
44
49
 
45
50
  The Augeas API has been heavily rewritten in order to better support
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
  require 'rubygems/package_task'
13
13
 
14
14
  GEM_NAME = 'augeas'
15
- GEM_VERSION = '0.6.3'
15
+ GEM_VERSION = '0.6.4'
16
16
  EXT_CONF = 'ext/augeas/extconf.rb'
17
17
  MAKEFILE = 'ext/augeas/Makefile'
18
18
  AUGEAS_MODULE = 'ext/augeas/_augeas.so'
@@ -74,9 +74,9 @@ SPEC = Gem::Specification.new do |s|
74
74
  s.email = "dot.doom@gmail.com"
75
75
  s.homepage = "https://github.com/dotdoom/augeas"
76
76
  s.summary = "Ruby bindings for augeas"
77
- s.authors = ["Bryan Kearney", "David Lutterkort", "Ionut Artarisi", "Artem Sheremet"]
77
+ s.authors = File.read('AUTHORS').lines.grep(/^ /).map { |a| a[/[^<]+/].strip }.uniq
78
78
  s.files = PKG_FILES
79
- s.licenses = ['LGPLv2']
79
+ s.licenses = ['LGPL-2.1+']
80
80
  s.required_ruby_version = '>= 1.8.7'
81
81
  s.extensions = "ext/augeas/extconf.rb"
82
82
  s.description = "A fork of ruby-augeas (bindings for augeas) with exceptions support."
@@ -43,4 +43,6 @@ unless have_library("xml2")
43
43
  raise "libxml2 is not installed"
44
44
  end
45
45
 
46
+ pkg_config('libxml-2.0')
47
+
46
48
  create_makefile(extension_name)
metadata CHANGED
@@ -1,17 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: augeas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Kearney
8
8
  - David Lutterkort
9
- - Ionut Artarisi
9
+ - Dominic Cleal
10
+ - Raphaël Pinson
10
11
  - Artem Sheremet
12
+ - Frederik Wagner
13
+ - Ben
14
+ - Ionuț Arțăriși
15
+ - Jacob McCann
11
16
  autorequire:
12
17
  bindir: bin
13
18
  cert_chain: []
14
- date: 2014-02-20 00:00:00.000000000 Z
19
+ date: 2015-08-03 00:00:00.000000000 Z
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
17
22
  name: rake
@@ -63,7 +68,7 @@ files:
63
68
  - tests/tc_augeas.rb
64
69
  homepage: https://github.com/dotdoom/augeas
65
70
  licenses:
66
- - LGPLv2
71
+ - LGPL-2.1+
67
72
  metadata: {}
68
73
  post_install_message:
69
74
  rdoc_options: []
@@ -81,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
86
  version: '0'
82
87
  requirements: []
83
88
  rubyforge_project:
84
- rubygems_version: 2.2.0
89
+ rubygems_version: 2.4.3
85
90
  signing_key:
86
91
  specification_version: 4
87
92
  summary: Ruby bindings for augeas