pry-macro 0.0.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/README.md +2 -2
- data/lib/pry-macro.rb +4 -4
- data/lib/pry-macro/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cfe5e87b55d256edcc3b0108e3fcc09e76e3e46
|
4
|
+
data.tar.gz: 38e83c3f1738b0b0c6507b260b1e97ff29467e1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 427c86ab32cefd8609451cfb3ce2dfaa7ff724c2c7fd00c1acdd87fb80e1f59ed2f247113b0f3c4b133d21089855874fb8c9330f3330d75ac5748cffce3f2d8e
|
7
|
+
data.tar.gz: fcbdac4dcf17d91f33e772070a8892ed328aaecde03a6e1d8b43660b1451d016113c2df93322e1c1123e265749ebc0e584895678972b0f5c8ca5e72091f4e056
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## v 1.0.0
|
4
|
+
|
5
|
+
Changed names to prevent collisions:
|
6
|
+
|
7
|
+
* record -> record-macro
|
8
|
+
* stop -> stop-macro
|
9
|
+
|
10
|
+
No more name changes to core methods.
|
11
|
+
|
12
|
+
## v 0.0.3
|
13
|
+
|
14
|
+
Variable fix: @name -> name
|
15
|
+
|
16
|
+
## v 0.0.2
|
17
|
+
|
18
|
+
Changed name: save -> save-macro
|
19
|
+
|
20
|
+
Added options
|
21
|
+
|
22
|
+
* stop
|
23
|
+
* n / name - name of macro
|
24
|
+
* d / desc - description of macro
|
25
|
+
* v - verbose, output macro text
|
26
|
+
|
27
|
+
## v 0.0.1
|
28
|
+
|
29
|
+
Initial release
|
30
|
+
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ later, as well as use pry commands.
|
|
12
12
|
Start recording:
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
[1] pry(main)> record
|
15
|
+
[1] pry(main)> record-macro
|
16
16
|
[2] pry(main)> 1
|
17
17
|
=> 1
|
18
18
|
[3] pry(main)> 'foo'
|
@@ -25,7 +25,7 @@ locals: _ __ _dir_ _ex_ _file_ _in_ _out_ _pry_
|
|
25
25
|
Stop the recording and name it:
|
26
26
|
|
27
27
|
```ruby
|
28
|
-
[5] pry(main)> stop
|
28
|
+
[5] pry(main)> stop-macro
|
29
29
|
Macro Name: testing
|
30
30
|
```
|
31
31
|
|
data/lib/pry-macro.rb
CHANGED
@@ -6,9 +6,9 @@ module PryMacro
|
|
6
6
|
MacroString = Struct.new(:name, :command)
|
7
7
|
|
8
8
|
Commands = Pry::CommandSet.new do
|
9
|
-
create_command 'record', 'Starts a recording session' do
|
9
|
+
create_command 'record-macro', 'Starts a recording session' do
|
10
10
|
banner <<-BANNER
|
11
|
-
Usage: record
|
11
|
+
Usage: record-macro
|
12
12
|
|
13
13
|
Starts recording a macro.
|
14
14
|
BANNER
|
@@ -26,9 +26,9 @@ module PryMacro
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
create_command 'stop', 'Stops a recording session, and saves a macro' do
|
29
|
+
create_command 'stop-macro', 'Stops a recording session, and saves a macro' do
|
30
30
|
banner <<-BANNER
|
31
|
-
Usage: stop [-n name] [-d desc]
|
31
|
+
Usage: stop-macro [-n name] [-d desc]
|
32
32
|
|
33
33
|
Stops recording a macro, loads the command, and caches it for later saving if
|
34
34
|
desired. If no name is provided, user will be prompted for one. Descriptions
|
data/lib/pry-macro/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry-macro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Weaver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -132,6 +132,7 @@ files:
|
|
132
132
|
- .gitignore
|
133
133
|
- .rspec
|
134
134
|
- .travis.yml
|
135
|
+
- CHANGELOG.md
|
135
136
|
- Gemfile
|
136
137
|
- Guardfile
|
137
138
|
- LICENSE.txt
|