summaryrefslogtreecommitdiff
path: root/examples/ruby
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-06-02 14:32:30 +0200
committerThomas Haller <thaller@redhat.com>2019-06-11 10:04:00 +0200
commitc0e075c90263150bd00ea033dbbd2d8e6b05300e (patch)
tree96914aeae06e9f35c3e040f92408bd6013f3bee1 /examples/ruby
parentd3db21ddaf38c2670fe5541bea1911b6f075d0b4 (diff)
downloadNetworkManager-c0e075c90263150bd00ea033dbbd2d8e6b05300e.tar.gz
all: drop emacs file variables from source files
We no longer add these. If you use Emacs, configure it yourself. Also, due to our "smart-tab" usage the editor anyway does a subpar job handling our tabs. However, on the upside every user can choose whatever tab-width he/she prefers. If "smart-tabs" are used properly (like we do), every tab-width will work. No manual changes, just ran commands: F=($(git grep -l -e '-\*-')) sed '1 { /\/\* *-\*- *[mM]ode.*\*\/$/d }' -i "${F[@]}" sed '1,4 { /^\(#\|--\|dnl\) *-\*- [mM]ode/d }' -i "${F[@]}" Check remaining lines with: git grep -e '-\*-' The ultimate purpose of this is to cleanup our files and eventually use SPDX license identifiers. For that, first get rid of the boilerplate lines.
Diffstat (limited to 'examples/ruby')
-rwxr-xr-xexamples/ruby/add-connection.rb1
-rwxr-xr-xexamples/ruby/get-basic-nm-info.rb1
-rwxr-xr-xexamples/ruby/list-devices.rb1
3 files changed, 0 insertions, 3 deletions
diff --git a/examples/ruby/add-connection.rb b/examples/ruby/add-connection.rb
index 645ad34865..39a6284b32 100755
--- a/examples/ruby/add-connection.rb
+++ b/examples/ruby/add-connection.rb
@@ -1,6 +1,5 @@
#!/usr/bin/env ruby
# vim: ft=ruby ts=2 sts=2 sw=2 et ai
-# -*- Mode: ruby; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/ruby/get-basic-nm-info.rb b/examples/ruby/get-basic-nm-info.rb
index 1cf679477e..144ecbcbf7 100755
--- a/examples/ruby/get-basic-nm-info.rb
+++ b/examples/ruby/get-basic-nm-info.rb
@@ -1,6 +1,5 @@
#!/usr/bin/env ruby
# vim: ft=ruby ts=2 sts=2 sw=2 et ai
-# -*- Mode: ruby; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/examples/ruby/list-devices.rb b/examples/ruby/list-devices.rb
index bf37425839..e35fcdfd08 100755
--- a/examples/ruby/list-devices.rb
+++ b/examples/ruby/list-devices.rb
@@ -1,6 +1,5 @@
#!/usr/bin/env ruby
# vim: ft=ruby ts=2 sts=2 sw=2 et ai
-# -*- Mode: ruby; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by