diff options
| -rw-r--r-- | MIT-LICENSE | 4 | ||||
| -rw-r--r-- | README.rdoc | 6 | ||||
| -rw-r--r-- | tasks/gem.rake | 2 | ||||
| -rw-r--r-- | tasks/helpers.rb | 2 | ||||
| -rw-r--r-- | tasks/rdoc.rake | 6 | ||||
| -rw-r--r-- | tasks/svn.rake | 2 | 
6 files changed, 11 insertions, 11 deletions
diff --git a/MIT-LICENSE b/MIT-LICENSE index a97067c..d5609b9 100644 --- a/MIT-LICENSE +++ b/MIT-LICENSE @@ -6,10 +6,10 @@ 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 diff --git a/README.rdoc b/README.rdoc index a91112c..bb96579 100644 --- a/README.rdoc +++ b/README.rdoc @@ -13,14 +13,14 @@ A ruby-ffi binding to efl libraries (Enlightenment Foundation Libraries).  == SYNOPSIS:      require 'efl/elementary' -     +      Efl::Elm.init -     +      on_exit = Proc.new do |data, evas_object, event_info|          puts "EXIT #{data.read_string}"          Efl::Elm.exit      end -     +      win = Efl::Elm::ElmWin.new nil, "Window name" do |w|          w.title = "My title"          w.alpha = true diff --git a/tasks/gem.rake b/tasks/gem.rake index a3e76f3..e5e5d13 100644 --- a/tasks/gem.rake +++ b/tasks/gem.rake @@ -77,7 +77,7 @@ class GemPackageTask < Rake::PackageTask              end          end      end -   +      def gem_file          if @gem_spec.platform == Gem::Platform::RUBY              "#{package_name}.gem" diff --git a/tasks/helpers.rb b/tasks/helpers.rb index b43117a..df5bd50 100644 --- a/tasks/helpers.rb +++ b/tasks/helpers.rb @@ -89,7 +89,7 @@ end  #    files = []  #    exclude = PROJ.exclude.dup  #    comment = %r/^\s*#/ -#  +#  #    # process the ignore file and add the items there to the exclude list  #    if test(?f, PROJ.ignore_file)  #        ary = [] diff --git a/tasks/rdoc.rake b/tasks/rdoc.rake index cd47caa..98ef3b8 100644 --- a/tasks/rdoc.rake +++ b/tasks/rdoc.rake @@ -8,7 +8,7 @@ namespace :doc do          rdoc = PROJ.rdoc          rd.main = rdoc.main          rd.rdoc_dir = rdoc.dir -         +          incl = Regexp.new(rdoc.include.join('|'))          excl = Regexp.new(rdoc.exclude.join('|'))          files = PROJ.gem.files.find_all do |fn| @@ -24,12 +24,12 @@ namespace :doc do          rd.options << "-t #{title}"          rd.options.concat(rdoc.opts)      end -     +      desc 'Generate ri locally for testing'      task :ri => :clobber_ri do          sh "#{RDOC} --ri -o ri ."      end -     +      task :clobber_ri do          rm_r 'ri' rescue nil      end diff --git a/tasks/svn.rake b/tasks/svn.rake index ae9426e..b831cbb 100644 --- a/tasks/svn.rake +++ b/tasks/svn.rake @@ -35,7 +35,7 @@ namespace :svn do          puts "Creating SVN tag '#{tag}'"          unless system "svn cp -m '#{msg}' #{trunk} #{tag}" -            abort "Tag creation failed"  +            abort "Tag creation failed"          end      end  | 
