diff options
author | Dirkjan Bussink <d.bussink@gmail.com> | 2012-11-25 11:37:42 +0100 |
---|---|---|
committer | Dirkjan Bussink <d.bussink@gmail.com> | 2012-11-25 11:46:47 +0100 |
commit | 94343ad3b748b8921cf042be2ae8d01e449e4219 (patch) | |
tree | a11b6e753735188ca854b2540b7c3a1e7564e5dc | |
parent | 6bd50b73ebcaf3961449fd84315d6619b8f0b0d5 (diff) | |
download | ffi-94343ad3b748b8921cf042be2ae8d01e449e4219.tar.gz |
Change licensing of the specs to the same license as Rubyspec
All the committers to the spec/ directory have agreed to this licensing
change. Also changes the license of the test library since the specs
depend on that.
43 files changed, 76 insertions, 548 deletions
diff --git a/LICENSE.SPECS b/LICENSE.SPECS new file mode 100644 index 0000000..5c9ffce --- /dev/null +++ b/LICENSE.SPECS @@ -0,0 +1,22 @@ +Copyright (c) 2008-2012 Ruby-FFI contributors + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. @@ -54,7 +54,9 @@ or from the git repository on github: ## License -See LICENSE file. +The ffi library is covered by the LGPL3 license, also see the LICENSE file. +The specs are shared with Rubyspec and are licensed by the same license +as Rubyspec, see the LICENSE.SPECS file. ## Credits diff --git a/libtest/Benchmark.c b/libtest/Benchmark.c index 88a234e..55a7380 100644 --- a/libtest/Benchmark.c +++ b/libtest/Benchmark.c @@ -1,21 +1,7 @@ /* * Copyright (c) 2007 Wayne Meissner. All rights reserved. * - * All rights reserved. - * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <sys/types.h> #include <stdint.h> diff --git a/libtest/BoolTest.c b/libtest/BoolTest.c index 52eec23..189a0fe 100644 --- a/libtest/BoolTest.c +++ b/libtest/BoolTest.c @@ -1,21 +1,7 @@ /* - * Copyright (c) 2009 Aman Gupta. All rights reserved. - * - * All rights reserved. + * Copyright (c) 2007 Wayne Meissner. All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <stdbool.h> diff --git a/libtest/BufferTest.c b/libtest/BufferTest.c index 49d1b0e..3e95ebc 100644 --- a/libtest/BufferTest.c +++ b/libtest/BufferTest.c @@ -1,21 +1,7 @@ -/* - * Copyright (C) 2007 Wayne Meissner - * - * All rights reserved. +/* + * Copyright (c) 2007 Wayne Meissner. All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ diff --git a/libtest/ClosureTest.c b/libtest/ClosureTest.c index ff225c3..64ea2b4 100644 --- a/libtest/ClosureTest.c +++ b/libtest/ClosureTest.c @@ -1,21 +1,7 @@ /* * Copyright (c) 2007 Wayne Meissner. All rights reserved. - * - * All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <stdlib.h> diff --git a/libtest/EnumTest.c b/libtest/EnumTest.c index 958aadf..4c9dda9 100644 --- a/libtest/EnumTest.c +++ b/libtest/EnumTest.c @@ -1,21 +1,7 @@ /* * Copyright (c) 2007 Wayne Meissner. All rights reserved. * - * All rights reserved. - * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ int test_untagged_enum(int val) { diff --git a/libtest/FunctionTest.c b/libtest/FunctionTest.c index c0e75dd..b4d45bb 100644 --- a/libtest/FunctionTest.c +++ b/libtest/FunctionTest.c @@ -1,21 +1,7 @@ /* - * Copyright (c) 2009 Wayne Meissner. All rights reserved. - * - * All rights reserved. + * Copyright (c) 2007 Wayne Meissner. All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #ifdef _WIN32 diff --git a/libtest/GlobalVariable.c b/libtest/GlobalVariable.c index b6125bd..39c12a2 100644 --- a/libtest/GlobalVariable.c +++ b/libtest/GlobalVariable.c @@ -1,21 +1,7 @@ /* - * Copyright (c) 2009 Wayne Meissner. All rights reserved. - * - * All rights reserved. + * Copyright (c) 2007 Wayne Meissner. All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <sys/types.h> diff --git a/libtest/LastErrorTest.c b/libtest/LastErrorTest.c index 9e67ce7..02ce4a8 100644 --- a/libtest/LastErrorTest.c +++ b/libtest/LastErrorTest.c @@ -1,21 +1,7 @@ /* - * Copyright (c) 2008 Wayne Meissner. All rights reserved. - * - * All rights reserved. + * Copyright (c) 2007 Wayne Meissner. All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #if defined(_WIN32) || defined(__WIN32__) diff --git a/libtest/NumberTest.c b/libtest/NumberTest.c index 78651a1..3fa25a8 100644 --- a/libtest/NumberTest.c +++ b/libtest/NumberTest.c @@ -1,21 +1,7 @@ /* * Copyright (c) 2007 Wayne Meissner. All rights reserved. - * - * All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <sys/types.h> diff --git a/libtest/PointerTest.c b/libtest/PointerTest.c index 40964fb..7237ab2 100644 --- a/libtest/PointerTest.c +++ b/libtest/PointerTest.c @@ -1,21 +1,7 @@ /* * Copyright (c) 2007 Wayne Meissner. All rights reserved. - * - * All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <sys/types.h> diff --git a/libtest/ReferenceTest.c b/libtest/ReferenceTest.c index 2212a4f..d1dd88b 100644 --- a/libtest/ReferenceTest.c +++ b/libtest/ReferenceTest.c @@ -1,21 +1,7 @@ /* * Copyright (c) 2007 Wayne Meissner. All rights reserved. - * - * All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <stdint.h> diff --git a/libtest/StringTest.c b/libtest/StringTest.c index fc83f5b..292242b 100644 --- a/libtest/StringTest.c +++ b/libtest/StringTest.c @@ -1,21 +1,7 @@ /* * Copyright (c) 2007 Wayne Meissner. All rights reserved. - * - * All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <string.h> diff --git a/libtest/StructTest.c b/libtest/StructTest.c index 44fab15..e6cd7b4 100644 --- a/libtest/StructTest.c +++ b/libtest/StructTest.c @@ -1,21 +1,7 @@ /* * Copyright (c) 2007 Wayne Meissner. All rights reserved. * - * All rights reserved. - * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <stdio.h> diff --git a/libtest/UnionTest.c b/libtest/UnionTest.c index aa5e0fc..0929a31 100644 --- a/libtest/UnionTest.c +++ b/libtest/UnionTest.c @@ -1,21 +1,7 @@ /* * Copyright (c) 2007 Wayne Meissner. All rights reserved. - * - * All rights reserved. * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <stdio.h> diff --git a/libtest/VariadicTest.c b/libtest/VariadicTest.c index 37903e1..fea6c3b 100644 --- a/libtest/VariadicTest.c +++ b/libtest/VariadicTest.c @@ -1,21 +1,7 @@ /* - * Copyright (c) 2008 Wayne Meissner. All rights reserved. + * Copyright (c) 2007 Wayne Meissner. All rights reserved. * - * All rights reserved. - * - * This file is part of ruby-ffi. - * - * This code is free software: you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License version 3 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * version 3 for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. + * For licensing, see LICENSE.SPECS */ #include <sys/types.h> diff --git a/spec/ffi/async_callback_spec.rb b/spec/ffi/async_callback_spec.rb index 6e73453..8a11558 100644 --- a/spec/ffi/async_callback_spec.rb +++ b/spec/ffi/async_callback_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/bool_spec.rb b/spec/ffi/bool_spec.rb index 68e8419..9124657 100644 --- a/spec/ffi/bool_spec.rb +++ b/spec/ffi/bool_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/buffer_spec.rb b/spec/ffi/buffer_spec.rb index 9472f2b..87843fe 100644 --- a/spec/ffi/buffer_spec.rb +++ b/spec/ffi/buffer_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/callback_spec.rb b/spec/ffi/callback_spec.rb index d1578c7..d3151b4 100644 --- a/spec/ffi/callback_spec.rb +++ b/spec/ffi/callback_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/custom_param_type.rb b/spec/ffi/custom_param_type.rb index 624ba79..ddb7c95 100644 --- a/spec/ffi/custom_param_type.rb +++ b/spec/ffi/custom_param_type.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) @@ -44,4 +33,4 @@ describe "functions with custom parameter types" do end end -end
\ No newline at end of file +end diff --git a/spec/ffi/custom_type_spec.rb b/spec/ffi/custom_type_spec.rb index 2a2fc1a..0f8d36b 100644 --- a/spec/ffi/custom_type_spec.rb +++ b/spec/ffi/custom_type_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/dup_spec.rb b/spec/ffi/dup_spec.rb index 8966efb..32baf2b 100644 --- a/spec/ffi/dup_spec.rb +++ b/spec/ffi/dup_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # @@ -62,4 +51,4 @@ describe "Struct#dup" do s1[:i].should == 0x98765 end -end
\ No newline at end of file +end diff --git a/spec/ffi/enum_spec.rb b/spec/ffi/enum_spec.rb index 3b2c274..f9b3e64 100644 --- a/spec/ffi/enum_spec.rb +++ b/spec/ffi/enum_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/errno_spec.rb b/spec/ffi/errno_spec.rb index d9a0b86..36c0992 100644 --- a/spec/ffi/errno_spec.rb +++ b/spec/ffi/errno_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) @@ -26,4 +15,4 @@ describe "FFI.errno" do LibTest.setLastError(0x12345678) FFI.errno.should == 0x12345678 end -end
\ No newline at end of file +end diff --git a/spec/ffi/ffi_spec.rb b/spec/ffi/ffi_spec.rb index e28446a..6ff01b6 100644 --- a/spec/ffi/ffi_spec.rb +++ b/spec/ffi/ffi_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/function_spec.rb b/spec/ffi/function_spec.rb index bdf51ad..21ad09c 100644 --- a/spec/ffi/function_spec.rb +++ b/spec/ffi/function_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/library_spec.rb b/spec/ffi/library_spec.rb index a6f6d1b..716df0f 100644 --- a/spec/ffi/library_spec.rb +++ b/spec/ffi/library_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/long_double.rb b/spec/ffi/long_double.rb index a137433..b76344a 100644 --- a/spec/ffi/long_double.rb +++ b/spec/ffi/long_double.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/managed_struct_spec.rb b/spec/ffi/managed_struct_spec.rb index c8e9ad5..8bf4f98 100644 --- a/spec/ffi/managed_struct_spec.rb +++ b/spec/ffi/managed_struct_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/number_spec.rb b/spec/ffi/number_spec.rb index e1d2f66..6087cce 100644 --- a/spec/ffi/number_spec.rb +++ b/spec/ffi/number_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/pointer_spec.rb b/spec/ffi/pointer_spec.rb index 5478bff..c5c4d3c 100644 --- a/spec/ffi/pointer_spec.rb +++ b/spec/ffi/pointer_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) require 'delegate' diff --git a/spec/ffi/spec_helper.rb b/spec/ffi/spec_helper.rb index e00d572..73ad625 100644 --- a/spec/ffi/spec_helper.rb +++ b/spec/ffi/spec_helper.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require 'rubygems' require 'rbconfig' diff --git a/spec/ffi/string_spec.rb b/spec/ffi/string_spec.rb index c16e082..c76bcba 100644 --- a/spec/ffi/string_spec.rb +++ b/spec/ffi/string_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/strptr_spec.rb b/spec/ffi/strptr_spec.rb index 839fc0f..1e6f474 100644 --- a/spec/ffi/strptr_spec.rb +++ b/spec/ffi/strptr_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/struct_callback_spec.rb b/spec/ffi/struct_callback_spec.rb index 8dfc6b7..8ba9773 100644 --- a/spec/ffi/struct_callback_spec.rb +++ b/spec/ffi/struct_callback_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/struct_initialize_spec.rb b/spec/ffi/struct_initialize_spec.rb index 816718a..a340781 100644 --- a/spec/ffi/struct_initialize_spec.rb +++ b/spec/ffi/struct_initialize_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/struct_packed_spec.rb b/spec/ffi/struct_packed_spec.rb index fd4ebcd..2c35f0b 100644 --- a/spec/ffi/struct_packed_spec.rb +++ b/spec/ffi/struct_packed_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/struct_spec.rb b/spec/ffi/struct_spec.rb index 849bc6c..7cf24d8 100644 --- a/spec/ffi/struct_spec.rb +++ b/spec/ffi/struct_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/typedef_spec.rb b/spec/ffi/typedef_spec.rb index bf3718f..d226788 100644 --- a/spec/ffi/typedef_spec.rb +++ b/spec/ffi/typedef_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/union_spec.rb b/spec/ffi/union_spec.rb index 9b78ea6..2b3cf44 100644 --- a/spec/ffi/union_spec.rb +++ b/spec/ffi/union_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) diff --git a/spec/ffi/variadic_spec.rb b/spec/ffi/variadic_spec.rb index b57941e..a19cf59 100644 --- a/spec/ffi/variadic_spec.rb +++ b/spec/ffi/variadic_spec.rb @@ -1,17 +1,6 @@ # # This file is part of ruby-ffi. -# -# This code is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License version 3 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License -# version 3 for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. +# For licensing, see LICENSE.SPECS # require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper")) |