pluginator 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -0
- data/Rakefile +4 -0
- data/lib/pluginator.rb +0 -2
- data/pluginator.gemspec +10 -9
- data/test/test_paginator.rb +0 -0
- metadata +57 -6
data/.rvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm use ruby-1.9.3-p327@pluginator --create
|
data/Rakefile
ADDED
data/lib/pluginator.rb
CHANGED
@@ -49,7 +49,6 @@ private
|
|
49
49
|
|
50
50
|
def detect
|
51
51
|
Gem.find_files("plugins/#{@plugins_name}/*/*.rb").each do |file_name|
|
52
|
-
# $stderr.puts "parsing #{file_name}"
|
53
52
|
path, name, type = file_name.match(/.*\/(plugins\/(#{@plugins_name}\/(.*)\/[^\/]*)\.rb)$/)[1..3]
|
54
53
|
load_plugin path, file_name
|
55
54
|
register_plugin type, name
|
@@ -66,7 +65,6 @@ private
|
|
66
65
|
type = type.to_s
|
67
66
|
@plugins[type] ||= {}
|
68
67
|
if @plugins[type][name].nil?
|
69
|
-
# $stderr.puts "loading #{name}"
|
70
68
|
@plugins[type][name] = name2class(name)
|
71
69
|
end
|
72
70
|
end
|
data/pluginator.gemspec
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
# -*- encoding: utf-8 -*-
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
|
-
s.name = "pluginator"
|
6
|
-
s.version = "0.9.0"
|
7
|
-
s.authors = ["Michal Papis"]
|
8
5
|
s.email = ["mpapis@gmail.com"]
|
9
|
-
s.
|
10
|
-
s.
|
11
|
-
|
6
|
+
s.authors = ["Michal Papis"]
|
7
|
+
s.name = "pluginator"
|
8
|
+
s.version = "0.9.1"
|
12
9
|
s.files = `git ls-files`.split("\n")
|
10
|
+
s.required_ruby_version = ">= 1.9.2"
|
11
|
+
s.add_development_dependency("simplecov")
|
12
|
+
s.add_development_dependency("rake")
|
13
|
+
s.add_development_dependency("minitest")
|
14
|
+
# s.add_development_dependency("smf-gem")
|
15
|
+
s.homepage = "https://github.com/mpapis/pluginator"
|
16
|
+
s.summary = "Rubygems plugin system using Gem.find_files."
|
13
17
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
14
|
-
s.required_ruby_version = '>= 1.9.2'
|
15
|
-
|
16
|
-
#s.add_development_dependency "smf-gem"
|
17
18
|
end
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pluginator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,55 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
date: 2013-02-14 00:00:00.000000000 Z
|
13
|
-
dependencies:
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: simplecov
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: minitest
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
14
62
|
description:
|
15
63
|
email:
|
16
64
|
- mpapis@gmail.com
|
@@ -19,10 +67,13 @@ extensions: []
|
|
19
67
|
extra_rdoc_files: []
|
20
68
|
files:
|
21
69
|
- .gitignore
|
70
|
+
- .rvmrc
|
22
71
|
- Gemfile
|
23
72
|
- README.md
|
73
|
+
- Rakefile
|
24
74
|
- lib/pluginator.rb
|
25
75
|
- pluginator.gemspec
|
76
|
+
- test/test_paginator.rb
|
26
77
|
homepage: https://github.com/mpapis/pluginator
|
27
78
|
licenses: []
|
28
79
|
post_install_message:
|
@@ -43,9 +94,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
43
94
|
version: '0'
|
44
95
|
requirements: []
|
45
96
|
rubyforge_project:
|
46
|
-
rubygems_version: 1.8.
|
97
|
+
rubygems_version: 1.8.24
|
47
98
|
signing_key:
|
48
99
|
specification_version: 3
|
49
|
-
summary:
|
50
|
-
test_files:
|
51
|
-
|
100
|
+
summary: Rubygems plugin system using Gem.find_files.
|
101
|
+
test_files:
|
102
|
+
- test/test_paginator.rb
|