repl_rake 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/Gemfile.lock +6 -6
- data/README.md +6 -1
- data/Rakefile +2 -0
- data/lib/repl_rake.rb +6 -0
- data/lib/repl_rake/tasks/irb.rake +1 -0
- data/lib/repl_rake/tasks/pry.rake +1 -0
- data/lib/repl_rake/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZDViNzRmM2ViMGQzN2QzYWYyYTcwOTllMjg0ZTNhOWNkOTQ3ZWE5Ng==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MDVjYjgzMGZlMGY1MmRjNjM2YmRjMDI4M2VjMWI5ZDQ5NTM2Y2M2YQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZTQ2MTkxYzk2ZDFjYTAzYjM1NDZiYjNkMTg0Mzg1ZDc0NWM4MTc5OWRmMzQ2
|
10
|
+
YTAzZWVlZGFjMTk1MjJjYjQxMzgzZDVjN2M2NWNmODdmNzc2ZWI5ODJkOTZj
|
11
|
+
YTdjMmM4MjBkNzc0MDFlYzQ1ODliMjVkMzc4MTFmODRhOTVjYzM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MGIwMDUxOTZlMDQ0MTk4YzU1NzU5NWQ4MzAxZWI0MTkyMjIxMDNkYTYzM2Ux
|
14
|
+
ZDEzYThmZDE2M2E2Njk2YTNlNTljMTExZDEyNGY4NmI1MTBjY2YxYmVkZmZm
|
15
|
+
NTRjYjk1OTA1MmJkZmFjMjY0NGQ0Y2YwYWYyMjUyNzMxYjg4NDk=
|
data/Gemfile.lock
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
repl_rake (0.0
|
4
|
+
repl_rake (0.1.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
coderay (1.1.0)
|
10
10
|
method_source (0.8.2)
|
11
|
-
pry (0.
|
12
|
-
coderay (~> 1.0)
|
13
|
-
method_source (~> 0.8)
|
11
|
+
pry (0.10.1)
|
12
|
+
coderay (~> 1.1.0)
|
13
|
+
method_source (~> 0.8.1)
|
14
14
|
slop (~> 3.4)
|
15
|
-
rake (10.
|
16
|
-
slop (3.
|
15
|
+
rake (10.3.2)
|
16
|
+
slop (3.6.0)
|
17
17
|
|
18
18
|
PLATFORMS
|
19
19
|
ruby
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# ReplRake
|
2
2
|
|
3
|
-
|
3
|
+
Putting Repl Driven Development in your hands.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -23,6 +23,11 @@ Then in gem folder add this to Rakefile
|
|
23
23
|
require 'repl_rake'
|
24
24
|
ReplRake.setup
|
25
25
|
|
26
|
+
Use the command
|
27
|
+
rake console
|
28
|
+
|
29
|
+
Any ruby code in `.repl_rake.rb` will be loaded into you pry session after the base gem is required.
|
30
|
+
|
26
31
|
## Credits
|
27
32
|
|
28
33
|
Credits:
|
data/Rakefile
CHANGED
data/lib/repl_rake.rb
CHANGED
@@ -3,6 +3,12 @@ require 'rake'
|
|
3
3
|
|
4
4
|
module ReplRake
|
5
5
|
|
6
|
+
def self.load_config
|
7
|
+
file = ".repl_rake.rb"
|
8
|
+
return unless File.exists?(file)
|
9
|
+
load file
|
10
|
+
end
|
11
|
+
|
6
12
|
def self.setup
|
7
13
|
gem_spec = Gem::Specification.new(Dir["*.gemspec"].first)
|
8
14
|
$calling_gem_name = gem_spec.name.split('.').first
|
data/lib/repl_rake/version.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: repl_rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zander Hill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.5'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ! '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description:
|
@@ -59,7 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
-
|
62
|
+
- .gitignore
|
63
63
|
- Gemfile
|
64
64
|
- Gemfile.lock
|
65
65
|
- LICENSE
|
@@ -81,17 +81,17 @@ require_paths:
|
|
81
81
|
- lib
|
82
82
|
required_ruby_version: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - ! '>='
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
|
-
- -
|
89
|
+
- - ! '>='
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.2.
|
94
|
+
rubygems_version: 2.2.2
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Creates a `rake console` task with either Pry or Irb
|