roda-plugins 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d5eeeb43298a4f19878385f62ce778162a7b997
4
- data.tar.gz: 44aed921ea1721c87998ac39b073fed75713630f
3
+ metadata.gz: 543af8c2f42d4aae849b5c93f0b295cc1fb504c8
4
+ data.tar.gz: cc52ff3a94e5000ea00e01e8912beceeefd9dd8f
5
5
  SHA512:
6
- metadata.gz: a53c50b7f14dc46051450e49e97404f03bbe3f95605647405be6bf93dd488f01e526ad3b1ac3a95f9717d99972eeda221682b775d019c6b0f6d62ffc6b1cec3f
7
- data.tar.gz: bcc93097d01da5a5361b3f5ed975d39e3c40a0af83adb534676cc63690ae7b372182fb3ab621139e5f3336aabc4caabf6835f7d58a45fd469b26f5aedae68acb
6
+ metadata.gz: b9d3f2bbfe4fc14c2a0aa992fb132bd3e1ba9dc0fa053b8a54e6dce34e41cfcce2c910efc1d9eba20630d533b450851ff047db0d5e24e4d6e05acd03967d5da3
7
+ data.tar.gz: 9205e24946270fdfc9d6bf2d87f8bc186d5dd0c36133e9b673100aad83392a67112cce7e1cb0fc31f87bf1090be3927e0bb33497575f49e8413cc6dd8e6e8bbd
@@ -0,0 +1,14 @@
1
+ class Roda
2
+ module RodaPlugins
3
+ module Root
4
+ module RequestMethods
5
+ def root(*args, &block)
6
+ args << ["", true]
7
+ is(*args, &block)
8
+ end
9
+ end
10
+ end
11
+
12
+ register_plugin(:root, Root)
13
+ end
14
+ end
@@ -1,5 +1,3 @@
1
- module Roda
2
- module Plugins
3
- VERSION = "0.0.1"
4
- end
1
+ class Roda
2
+ PluginsVersion = '0.0.2'.freeze
5
3
  end
data/roda-plugins.gemspec CHANGED
@@ -5,7 +5,7 @@ require 'roda/plugins/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "roda-plugins"
8
- spec.version = Roda::Plugins::VERSION
8
+ spec.version = Roda::PluginsVersion
9
9
  spec.authors = ["cj"]
10
10
  spec.email = ["cjlazell@gmail.com"]
11
11
  spec.summary = %q{Plugins for Roda.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
@@ -23,6 +23,7 @@ files:
23
23
  - README.md
24
24
  - Rakefile
25
25
  - lib/roda/plugins.rb
26
+ - lib/roda/plugins/root.rb
26
27
  - lib/roda/plugins/version.rb
27
28
  - roda-plugins.gemspec
28
29
  homepage: ''