mbleigh-canonical-url 0.1.2 → 0.1.4
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.
- data/Rakefile +52 -0
- data/VERSION.yml +1 -1
- metadata +3 -2
    
        data/Rakefile
    ADDED
    
    | @@ -0,0 +1,52 @@ | |
| 1 | 
            +
            require 'rake'
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            begin
         | 
| 4 | 
            +
              require 'jeweler'
         | 
| 5 | 
            +
              Jeweler::Tasks.new do |s|
         | 
| 6 | 
            +
                s.name = "canonical-url"
         | 
| 7 | 
            +
                s.summary = %Q{Rails plugin to take advantage of the new Canonical URL support of search engines.}
         | 
| 8 | 
            +
                s.email = "michael@intridea.com"
         | 
| 9 | 
            +
                s.homepage = "http://github.com/mbleigh/canonical-url"
         | 
| 10 | 
            +
                s.description = "TODO"
         | 
| 11 | 
            +
                s.authors = ["Michael Bleigh"]
         | 
| 12 | 
            +
                s.files = FileList["[A-Z]*", "{lib,rails}/**/*"]
         | 
| 13 | 
            +
              end
         | 
| 14 | 
            +
            rescue LoadError
         | 
| 15 | 
            +
              puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
         | 
| 16 | 
            +
            end
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            require 'rake/rdoctask'
         | 
| 19 | 
            +
            Rake::RDocTask.new do |rdoc|
         | 
| 20 | 
            +
              rdoc.rdoc_dir = 'rdoc'
         | 
| 21 | 
            +
              rdoc.title = 'canonical-url'
         | 
| 22 | 
            +
              rdoc.options << '--line-numbers' << '--inline-source'
         | 
| 23 | 
            +
              rdoc.rdoc_files.include('README*')
         | 
| 24 | 
            +
              rdoc.rdoc_files.include('lib/**/*.rb')
         | 
| 25 | 
            +
            end
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            # require 'rake/testtask'
         | 
| 28 | 
            +
            # Rake::TestTask.new(:test) do |t|
         | 
| 29 | 
            +
            #   t.libs << 'lib' << 'test'
         | 
| 30 | 
            +
            #   t.pattern = 'test/**/*_test.rb'
         | 
| 31 | 
            +
            #   t.verbose = false
         | 
| 32 | 
            +
            # end
         | 
| 33 | 
            +
            # 
         | 
| 34 | 
            +
            # begin
         | 
| 35 | 
            +
            #   require 'rcov/rcovtask'
         | 
| 36 | 
            +
            #   Rcov::RcovTask.new do |t|
         | 
| 37 | 
            +
            #     t.libs << 'test'
         | 
| 38 | 
            +
            #     t.test_files = FileList['test/**/*_test.rb']
         | 
| 39 | 
            +
            #     t.verbose = true
         | 
| 40 | 
            +
            #   end
         | 
| 41 | 
            +
            # rescue LoadError
         | 
| 42 | 
            +
            #   puts "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
         | 
| 43 | 
            +
            # end
         | 
| 44 | 
            +
            # 
         | 
| 45 | 
            +
            # begin
         | 
| 46 | 
            +
            #   require 'cucumber/rake/task'
         | 
| 47 | 
            +
            #   Cucumber::Rake::Task.new(:features)
         | 
| 48 | 
            +
            # rescue LoadError
         | 
| 49 | 
            +
            #   puts "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
         | 
| 50 | 
            +
            # end
         | 
| 51 | 
            +
            # 
         | 
| 52 | 
            +
            # task :default => :test
         | 
    
        data/VERSION.yml
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: mbleigh-canonical-url
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              version: 0.1. | 
| 4 | 
            +
              version: 0.1.4
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors: 
         | 
| 7 7 | 
             
            - Michael Bleigh
         | 
| @@ -22,11 +22,12 @@ extensions: [] | |
| 22 22 | 
             
            extra_rdoc_files: []
         | 
| 23 23 |  | 
| 24 24 | 
             
            files: 
         | 
| 25 | 
            +
            - LICENSE
         | 
| 26 | 
            +
            - Rakefile
         | 
| 25 27 | 
             
            - README.markdown
         | 
| 26 28 | 
             
            - VERSION.yml
         | 
| 27 29 | 
             
            - lib/canonical_url.rb
         | 
| 28 30 | 
             
            - rails/init.rb
         | 
| 29 | 
            -
            - LICENSE
         | 
| 30 31 | 
             
            has_rdoc: true
         | 
| 31 32 | 
             
            homepage: http://github.com/mbleigh/canonical-url
         | 
| 32 33 | 
             
            post_install_message: 
         |