auto_autoloader 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{README.rdoc → README.md} +22 -5
- data/VERSION +1 -1
- data/auto_autoloader.gemspec +5 -4
- data/lib/auto_autoloader.rb +1 -1
- data/shippable.yml +12 -0
- data/spec/test_class.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23a7863f796dd2d4e7fbe80e4213716523a96304
|
4
|
+
data.tar.gz: 8db05b5d76a989407acadb404951995dfc86ce9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 117b336e2683e9202dd4b42a4f7fcfd0710209c9f896a84220950d8c92bf374a44bb47f33654f0c8cdac4289620ab182b585155e0863b7bf7b2dcf40f76062a8
|
7
|
+
data.tar.gz: b36d77e1ae057e65795b77988505c16b120953282654be66e0cac9b4775aa0b87caf266e3650495ac5304f526a4a9a93fa841078e211bc0069d2b8cf4f41e280
|
data/{README.rdoc → README.md}
RENAMED
@@ -1,9 +1,26 @@
|
|
1
|
-
|
1
|
+
[![Build Status](https://img.shields.io/shippable/568908111895ca4474673ec5.svg)](https://app.shippable.com/projects/568908111895ca4474673ec5/builds/latest)
|
2
2
|
|
3
|
-
|
3
|
+
# auto_autoloader
|
4
|
+
|
5
|
+
## Install
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
gem "auto_autoloader"
|
9
|
+
```
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
File: "lib/my_class.rb"
|
14
|
+
```ruby
|
15
|
+
class MyClass
|
16
|
+
AutoAutoloader.autoload_sub_classes(self, __FILE__)
|
17
|
+
end
|
18
|
+
```
|
19
|
+
|
20
|
+
It will now try to autoload "MyClass:SubClass" in the following path: "lib/my_class/sub_class.rb".
|
21
|
+
|
22
|
+
## Contributing to auto_autoloader
|
4
23
|
|
5
|
-
== Contributing to auto_autoloader
|
6
|
-
|
7
24
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
8
25
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
9
26
|
* Fork the project.
|
@@ -12,7 +29,7 @@ Description goes here.
|
|
12
29
|
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
30
|
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
31
|
|
15
|
-
|
32
|
+
## Copyright
|
16
33
|
|
17
34
|
Copyright (c) 2016 kaspernj. See LICENSE.txt for
|
18
35
|
further details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
data/auto_autoloader.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: auto_autoloader 0.0.
|
5
|
+
# stub: auto_autoloader 0.0.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "auto_autoloader"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.email = "k@spernj.org"
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE.txt",
|
19
|
-
"README.
|
19
|
+
"README.md"
|
20
20
|
]
|
21
21
|
s.files = [
|
22
22
|
".document",
|
@@ -25,11 +25,12 @@ Gem::Specification.new do |s|
|
|
25
25
|
"Gemfile",
|
26
26
|
"Gemfile.lock",
|
27
27
|
"LICENSE.txt",
|
28
|
-
"README.
|
28
|
+
"README.md",
|
29
29
|
"Rakefile",
|
30
30
|
"VERSION",
|
31
31
|
"auto_autoloader.gemspec",
|
32
32
|
"lib/auto_autoloader.rb",
|
33
|
+
"shippable.yml",
|
33
34
|
"spec/auto_autoloader_spec.rb",
|
34
35
|
"spec/spec_helper.rb",
|
35
36
|
"spec/test_class.rb",
|
data/lib/auto_autoloader.rb
CHANGED
data/shippable.yml
ADDED
data/spec/test_class.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auto_autoloader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kaspernj
|
@@ -115,7 +115,7 @@ executables: []
|
|
115
115
|
extensions: []
|
116
116
|
extra_rdoc_files:
|
117
117
|
- LICENSE.txt
|
118
|
-
- README.
|
118
|
+
- README.md
|
119
119
|
files:
|
120
120
|
- ".document"
|
121
121
|
- ".rspec"
|
@@ -123,11 +123,12 @@ files:
|
|
123
123
|
- Gemfile
|
124
124
|
- Gemfile.lock
|
125
125
|
- LICENSE.txt
|
126
|
-
- README.
|
126
|
+
- README.md
|
127
127
|
- Rakefile
|
128
128
|
- VERSION
|
129
129
|
- auto_autoloader.gemspec
|
130
130
|
- lib/auto_autoloader.rb
|
131
|
+
- shippable.yml
|
131
132
|
- spec/auto_autoloader_spec.rb
|
132
133
|
- spec/spec_helper.rb
|
133
134
|
- spec/test_class.rb
|