alula-plugins 0.0.1 → 0.1.0
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/.gitignore +3 -0
- data/Rakefile +4 -0
- data/VERSION +1 -0
- data/alula-plugins.gemspec +3 -1
- data/lib/alula/plugins/lightbox.rb +3 -3
- data/lib/alula/plugins/version.rb +1 -1
- metadata +17 -7
- data/plugins/lightbox/.DS_Store +0 -0
- data/plugins/lightbox/stylesheets/.DS_Store +0 -0
    
        data/.gitignore
    CHANGED
    
    
    
        data/Rakefile
    CHANGED
    
    
    
        data/VERSION
    ADDED
    
    | @@ -0,0 +1 @@ | |
| 1 | 
            +
            0.1.0
         | 
    
        data/alula-plugins.gemspec
    CHANGED
    
    
| @@ -12,12 +12,12 @@ module Alula | |
| 12 12 | 
             
                  end
         | 
| 13 13 |  | 
| 14 14 | 
             
                  def initialize(tag_name, markup, tokens)
         | 
| 15 | 
            -
                    /(?<src>(?:https?:\/\/|\/|\S+\/)\S+)(?<title>\s+.+) | 
| 15 | 
            +
                    /(?<src>(?:https?:\/\/|\/|\S+\/)\S+)(?<title>\s+.+)?/ =~ markup
         | 
| 16 16 | 
             
                    /(?:"|')(?<title>[^"']+)?(?:"|')\s+(?:"|')(?<alt>[^"']+)?(?:"|')/ =~ title
         | 
| 17 17 |  | 
| 18 18 | 
             
                    @name = src
         | 
| 19 | 
            -
                    @title = title
         | 
| 20 | 
            -
                    @alt = alt
         | 
| 19 | 
            +
                    @title = title || ""
         | 
| 20 | 
            +
                    @alt = alt || ""
         | 
| 21 21 | 
             
                  end
         | 
| 22 22 |  | 
| 23 23 | 
             
                  def render(context)
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: alula-plugins
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0 | 
| 4 | 
            +
              version: 0.1.0
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -13,15 +13,26 @@ date: 2012-04-06 00:00:00.000000000 Z | |
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: alula
         | 
| 16 | 
            -
              requirement: & | 
| 16 | 
            +
              requirement: &70244073815760 !ruby/object:Gem::Requirement
         | 
| 17 17 | 
             
                none: false
         | 
| 18 18 | 
             
                requirements:
         | 
| 19 | 
            -
                - -  | 
| 19 | 
            +
                - - ~>
         | 
| 20 20 | 
             
                  - !ruby/object:Gem::Version
         | 
| 21 | 
            -
                    version:  | 
| 21 | 
            +
                    version: 0.1.0
         | 
| 22 22 | 
             
              type: :runtime
         | 
| 23 23 | 
             
              prerelease: false
         | 
| 24 | 
            -
              version_requirements: * | 
| 24 | 
            +
              version_requirements: *70244073815760
         | 
| 25 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 26 | 
            +
              name: version
         | 
| 27 | 
            +
              requirement: &70244073815140 !ruby/object:Gem::Requirement
         | 
| 28 | 
            +
                none: false
         | 
| 29 | 
            +
                requirements:
         | 
| 30 | 
            +
                - - ~>
         | 
| 31 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 32 | 
            +
                    version: 1.0.0
         | 
| 33 | 
            +
              type: :development
         | 
| 34 | 
            +
              prerelease: false
         | 
| 35 | 
            +
              version_requirements: *70244073815140
         | 
| 25 36 | 
             
            description: Plugins for Alula blog
         | 
| 26 37 | 
             
            email:
         | 
| 27 38 | 
             
            - mikko@owlforestry.com
         | 
| @@ -34,17 +45,16 @@ files: | |
| 34 45 | 
             
            - LICENSE
         | 
| 35 46 | 
             
            - README.md
         | 
| 36 47 | 
             
            - Rakefile
         | 
| 48 | 
            +
            - VERSION
         | 
| 37 49 | 
             
            - alula-plugins.gemspec
         | 
| 38 50 | 
             
            - lib/alula/plugins.rb
         | 
| 39 51 | 
             
            - lib/alula/plugins/lightbox.rb
         | 
| 40 52 | 
             
            - lib/alula/plugins/version.rb
         | 
| 41 53 | 
             
            - plugins/.DS_Store
         | 
| 42 | 
            -
            - plugins/lightbox/.DS_Store
         | 
| 43 54 | 
             
            - plugins/lightbox/javascripts/.DS_Store
         | 
| 44 55 | 
             
            - plugins/lightbox/javascripts/jquery.fancybox.js
         | 
| 45 56 | 
             
            - plugins/lightbox/javascripts/lightbox.js.coffee
         | 
| 46 57 | 
             
            - plugins/lightbox/javascripts/lightbox_body.js
         | 
| 47 | 
            -
            - plugins/lightbox/stylesheets/.DS_Store
         | 
| 48 58 | 
             
            - plugins/lightbox/stylesheets/jquery.fancybox.css
         | 
| 49 59 | 
             
            - plugins/lightbox/stylesheets/lightbox.css
         | 
| 50 60 | 
             
            homepage: ''
         | 
    
        data/plugins/lightbox/.DS_Store
    DELETED
    
    | Binary file | 
| Binary file |