chek 1.0.0 → 1.0.1
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/.travis.yml +3 -0
- data/Gemfile +2 -1
- data/README.md +17 -7
- data/lib/chek/version.rb +1 -1
- metadata +8 -2
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
# Chek
|
1
|
+
# Chek [](http://travis-ci.org/toooooooby/chek)
|
2
2
|
|
3
3
|
You can gesture **require** or **not require** in ruby script.
|
4
4
|
|
5
|
+
|
5
6
|
## Installation
|
6
7
|
|
7
8
|
Add this line to your application's Gemfile:
|
@@ -18,15 +19,24 @@ Or install it yourself as:
|
|
18
19
|
|
19
20
|
## Usage
|
20
21
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
```ruby
|
23
|
+
# -*- coding: utf-8 -*-
|
24
|
+
require 'chek'
|
25
|
+
|
26
|
+
☑ 'pathname' # I wanna use it :)
|
27
|
+
☑ 'mechanize' # I wanna use it too
|
28
|
+
☐ 'open-uri' # I don't wanna use it now :p
|
29
|
+
☐ 'fileutils' # I don't wanna use it now tooo
|
30
|
+
```
|
25
31
|
|
26
32
|
This means like below codes.
|
27
33
|
|
28
|
-
|
29
|
-
|
34
|
+
```ruby
|
35
|
+
require 'pathname' # I wanna use it :)
|
36
|
+
require 'mechanize' # I wanna use it too
|
37
|
+
# require 'open-uri' # I don't wanna use it now :p
|
38
|
+
# require 'fileutils' # I don't wanna use it now tooo
|
39
|
+
```
|
30
40
|
|
31
41
|
## Contributing
|
32
42
|
|
data/lib/chek/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -19,6 +19,7 @@ extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
21
|
- .gitignore
|
22
|
+
- .travis.yml
|
22
23
|
- Gemfile
|
23
24
|
- LICENSE
|
24
25
|
- README.md
|
@@ -43,12 +44,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
44
|
- - ! '>='
|
44
45
|
- !ruby/object:Gem::Version
|
45
46
|
version: '0'
|
47
|
+
segments:
|
48
|
+
- 0
|
49
|
+
hash: -1017474012113227358
|
46
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
47
51
|
none: false
|
48
52
|
requirements:
|
49
53
|
- - ! '>='
|
50
54
|
- !ruby/object:Gem::Version
|
51
55
|
version: '0'
|
56
|
+
segments:
|
57
|
+
- 0
|
58
|
+
hash: -1017474012113227358
|
52
59
|
requirements: []
|
53
60
|
rubyforge_project:
|
54
61
|
rubygems_version: 1.8.23
|
@@ -61,4 +68,3 @@ test_files:
|
|
61
68
|
- spec/foobar-with-chek.rb
|
62
69
|
- spec/foobar-without-chek.rb
|
63
70
|
- spec/spec_helper.rb
|
64
|
-
has_rdoc:
|