pluginator 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +7 -7
  2. data/.travis.yml +2 -0
  3. data/COPYING +674 -0
  4. data/COPYING.LESSER +165 -0
  5. data/Changelog.md +5 -0
  6. data/Gemfile +19 -5
  7. data/README.md +20 -0
  8. data/Rakefile +21 -0
  9. data/demo/plugins/something/math/decrease.rb +19 -0
  10. data/demo/plugins/something/math/increase.rb +19 -0
  11. data/demo/plugins/something/nested/structure/test.rb +19 -0
  12. data/demo/plugins/something/stats/max.rb +19 -0
  13. data/lib/pluginator.rb +19 -0
  14. data/lib/pluginator/autodetect.rb +37 -3
  15. data/lib/pluginator/errors.rb +19 -0
  16. data/lib/pluginator/extendable_autodetect.rb +19 -0
  17. data/lib/pluginator/group.rb +19 -0
  18. data/lib/pluginator/name_converter.rb +19 -0
  19. data/lib/pluginator/version.rb +20 -1
  20. data/lib/plugins/pluginator/extensions/class_exist.rb +19 -0
  21. data/lib/plugins/pluginator/extensions/conversions.rb +19 -0
  22. data/lib/plugins/pluginator/extensions/first_ask.rb +19 -0
  23. data/lib/plugins/pluginator/extensions/first_class.rb +19 -0
  24. data/lib/plugins/pluginator/extensions/matching.rb +19 -0
  25. data/lib/plugins/pluginator/extensions/plugins_map.rb +19 -0
  26. data/pluginator.gemspec +24 -2
  27. data/test/pluginator/autodetect_test.rb +19 -0
  28. data/test/pluginator/extendable_autodetect_test.rb +19 -0
  29. data/test/pluginator/group_test.rb +19 -0
  30. data/test/pluginator/name_converter_test.rb +19 -0
  31. data/test/pluginator_test.rb +19 -0
  32. data/test/plugins_test/extensions/class_exist_test.rb +19 -0
  33. data/test/plugins_test/extensions/conversions_test.rb +19 -0
  34. data/test/plugins_test/extensions/first_ask_test.rb +19 -0
  35. data/test/plugins_test/extensions/first_class_test.rb +19 -0
  36. data/test/plugins_test/extensions/matching_test.rb +19 -0
  37. data/test/plugins_test/extensions/plugins_map_test.rb +19 -0
  38. data/test/test_helper.rb +21 -0
  39. metadata +52 -42
@@ -1,3 +1,22 @@
1
+ =begin
2
+ Copyright 2013 Michal Papis <mpapis@gmail.com>
3
+
4
+ This file is part of pluginator.
5
+
6
+ pluginator is free software: you can redistribute it and/or modify
7
+ it under the terms of the GNU Lesser General Public License as published
8
+ by the Free Software Foundation, either version 3 of the License, or
9
+ (at your option) any later version.
10
+
11
+ pluginator is distributed in the hope that it will be useful,
12
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ GNU Lesser General Public License for more details.
15
+
16
+ You should have received a copy of the GNU Lesser General Public License
17
+ along with pluginator. If not, see <http://www.gnu.org/licenses/>.
18
+ =end
19
+
1
20
  require 'test_helper'
2
21
  require 'plugins/pluginator/extensions/first_class'
3
22
  require 'plugins/something/stats/max'
@@ -1,3 +1,22 @@
1
+ =begin
2
+ Copyright 2013 Michal Papis <mpapis@gmail.com>
3
+
4
+ This file is part of pluginator.
5
+
6
+ pluginator is free software: you can redistribute it and/or modify
7
+ it under the terms of the GNU Lesser General Public License as published
8
+ by the Free Software Foundation, either version 3 of the License, or
9
+ (at your option) any later version.
10
+
11
+ pluginator is distributed in the hope that it will be useful,
12
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ GNU Lesser General Public License for more details.
15
+
16
+ You should have received a copy of the GNU Lesser General Public License
17
+ along with pluginator. If not, see <http://www.gnu.org/licenses/>.
18
+ =end
19
+
1
20
  require 'test_helper'
2
21
  require 'plugins/pluginator/extensions/matching'
3
22
 
@@ -1,3 +1,22 @@
1
+ =begin
2
+ Copyright 2013 Michal Papis <mpapis@gmail.com>
3
+
4
+ This file is part of pluginator.
5
+
6
+ pluginator is free software: you can redistribute it and/or modify
7
+ it under the terms of the GNU Lesser General Public License as published
8
+ by the Free Software Foundation, either version 3 of the License, or
9
+ (at your option) any later version.
10
+
11
+ pluginator is distributed in the hope that it will be useful,
12
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ GNU Lesser General Public License for more details.
15
+
16
+ You should have received a copy of the GNU Lesser General Public License
17
+ along with pluginator. If not, see <http://www.gnu.org/licenses/>.
18
+ =end
19
+
1
20
  require 'test_helper'
2
21
  require 'plugins/pluginator/extensions/plugins_map'
3
22
 
@@ -1,3 +1,24 @@
1
+ =begin
2
+ Copyright 2013
3
+ - Michal Papis <mpapis@gmail.com>
4
+ - Jordon Bedwell <envygeeks@gmail.com>
5
+
6
+ This file is part of pluginator.
7
+
8
+ pluginator is free software: you can redistribute it and/or modify
9
+ it under the terms of the GNU Lesser General Public License as published
10
+ by the Free Software Foundation, either version 3 of the License, or
11
+ (at your option) any later version.
12
+
13
+ pluginator is distributed in the hope that it will be useful,
14
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ GNU Lesser General Public License for more details.
17
+
18
+ You should have received a copy of the GNU Lesser General Public License
19
+ along with pluginator. If not, see <http://www.gnu.org/licenses/>.
20
+ =end
21
+
1
22
  if
2
23
  RUBY_VERSION == "2.0.0" # check Gemfile
3
24
  then
metadata CHANGED
@@ -1,47 +1,58 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pluginator
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Michal Papis
8
+ - Jordon Bedwell
9
+ - Mose
8
10
  autorequire:
9
11
  bindir: bin
10
12
  cert_chain: []
11
-
12
- date: 2013-12-25 00:00:00 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
13
+ date: 2014-06-06 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
15
16
  name: rake
16
- prerelease: false
17
- requirement: &id001 !ruby/object:Gem::Requirement
18
- requirements:
19
- - &id002
20
- - ">="
21
- - !ruby/object:Gem::Version
22
- version: "0"
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
23
22
  type: :development
24
- version_requirements: *id001
25
- - !ruby/object:Gem::Dependency
26
- name: minitest
27
23
  prerelease: false
28
- requirement: &id003 !ruby/object:Gem::Requirement
29
- requirements:
30
- - *id002
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - '>='
27
+ - !ruby/object:Gem::Version
28
+ version: '0'
29
+ - !ruby/object:Gem::Dependency
30
+ name: minitest
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '>='
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
31
36
  type: :development
32
- version_requirements: *id003
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '>='
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
33
43
  description:
34
- email:
44
+ email:
35
45
  - mpapis@gmail.com
46
+ - envygeeks@gmail.com
47
+ - mose@mose.com
36
48
  executables: []
37
-
38
49
  extensions: []
39
-
40
50
  extra_rdoc_files: []
41
-
42
- files:
51
+ files:
43
52
  - .gitignore
44
53
  - .travis.yml
54
+ - COPYING
55
+ - COPYING.LESSER
45
56
  - Changelog.md
46
57
  - Gemfile
47
58
  - README.md
@@ -77,31 +88,30 @@ files:
77
88
  - test/plugins_test/extensions/plugins_map_test.rb
78
89
  - test/test_helper.rb
79
90
  homepage: https://github.com/rvm/pluginator
80
- licenses: []
81
-
91
+ licenses:
92
+ - LGPL v3
82
93
  metadata: {}
83
-
84
94
  post_install_message:
85
95
  rdoc_options: []
86
-
87
- require_paths:
96
+ require_paths:
88
97
  - lib
89
- required_ruby_version: !ruby/object:Gem::Requirement
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
98
+ required_ruby_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '>='
101
+ - !ruby/object:Gem::Version
93
102
  version: 1.8.7
94
- required_rubygems_version: !ruby/object:Gem::Requirement
95
- requirements:
96
- - *id002
103
+ required_rubygems_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
97
108
  requirements: []
98
-
99
109
  rubyforge_project:
100
- rubygems_version: 2.0.14
110
+ rubygems_version: 2.2.2
101
111
  signing_key:
102
112
  specification_version: 4
103
113
  summary: Rubygems plugin system using Gem.find_files.
104
- test_files:
114
+ test_files:
105
115
  - test/pluginator/autodetect_test.rb
106
116
  - test/pluginator/extendable_autodetect_test.rb
107
117
  - test/pluginator/group_test.rb