spirit_fingers 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d6f372015bf692ddad1c9d7110509641b437a98b
4
+ data.tar.gz: 560d89c9f1d78ed97719112184d0356414a3f005
5
+ SHA512:
6
+ metadata.gz: 720c3cfdafd7862689365484b0e906623903e761c6afd2ad49f1a86aa743ed56c82aa7629de6c07028eac9bcaf6530427bce2ea2f5e120a76fdb39804f80f078
7
+ data.tar.gz: d5610a5b691595e35ad66e6557fd6ce3bb227843682bf48dfa286e8e7019db19cb090e7054a43596735c8ff233212b55f47916c4e9bd540fc8b051dc9fa5c3ea
data/.gitignore ADDED
@@ -0,0 +1,15 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ *.gem
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in spirit_fingers.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Ariya Seng
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,73 @@
1
+ # SpiritFingers
2
+
3
+ A collection of Pry add-ons for Rails.
4
+
5
+ | Add On | Description
6
+ ----------| -----------
7
+ [**pry**](https://github.com/pry/pry) | Pry is a powerful alternative to the standard IRB shell for Ruby.
8
+ [**pry-doc**](https://github.com/pry/pry-doc) | Provides extended documentation support for Pry.
9
+ [**pry-rails**](https://github.com/rweng/pry-rails) | This is a small gem which causes rails console to open pry.
10
+ [**pry-stack_explorer**](https://github.com/pry/pry-stack_explorer) | Enables the user to navigate the call-stack.
11
+ [**pry-byebug**](https://github.com/deivid-rodriguez/pry-byebug) | Adds step, next, finish and continue commands and breakpoints to Pry using byebug.
12
+ [**pry-coolline**](https://github.com/pry/pry-coolline) | The pry-coolline plugin provides live syntax highlighting for the Pry REPL for Ruby 1.9.2+ (MRI).
13
+ [**pry-rescue**](https://github.com/ConradIrwin/pry-rescue) | Pry-rescue is an implementation of "break on unhandled exception" for Ruby. Whenever an exception is raised, but not rescued, pry-rescue will automatically open Pry for you:
14
+ [**pry-clipboard**](https://github.com/hotchpotch/pry-clipboard) | Copy history/result to clipboard.
15
+ [**hirb**](https://github.com/cldwalker/hirb) | Given an object or array of objects, hirb renders a view based on the object's class and/or ancestry.
16
+ [**awesome_print**](https://github.com/michaeldv/awesome_print) | Awesome Print is a Ruby library that pretty prints Ruby objects in full color exposing their internal structure with proper indentation.
17
+
18
+ ## Installation
19
+
20
+ Add this line to your application's Gemfile:
21
+
22
+ ```ruby
23
+ gem 'spirit_fingers', :group => :development
24
+ ```
25
+
26
+ And then execute:
27
+
28
+ $ bundle install
29
+
30
+ Or install it yourself as:
31
+
32
+ $ gem install spirit_fingers
33
+
34
+ ## Useful ~/.pryc Config
35
+ Adding the following to your ~/.pryc will set some nice default configurations for the plugin:
36
+
37
+ ```
38
+ begin
39
+ require 'pry-clipboard'
40
+ # aliases
41
+ Pry.config.commands.alias_command 'ch', 'copy-history'
42
+ Pry.config.commands.alias_command 'cr', 'copy-result'
43
+ rescue LoadError => e
44
+ warn "can't load pry-clipboard"
45
+ end
46
+
47
+ begin
48
+ require "awesome_print"
49
+ # User awesome print by default
50
+ AwesomePrint.pry!
51
+
52
+ if defined?(PryByebug)
53
+ Pry.commands.alias_command 'c', 'continue'
54
+ Pry.commands.alias_command 's', 'step'
55
+ Pry.commands.alias_command 'n', 'next'
56
+ Pry.commands.alias_command 'f', 'finish'
57
+ end
58
+
59
+ # Hit Enter to repeat last command
60
+ Pry::Commands.command /^$/, "repeat last command" do
61
+ _pry_.run_command Pry.history.to_a.last
62
+ end
63
+
64
+ ```
65
+
66
+ ## Contributing
67
+
68
+ 1. Fork it ( https://github.com/[my-github-username]/spirit_fingers/fork )
69
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
70
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
71
+ 4. Push to the branch (`git push origin my-new-feature`)
72
+ 5. Create a new Pull Request
73
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,3 @@
1
+ module SpiritFingers
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,5 @@
1
+ require "spirit_fingers/version"
2
+
3
+ module SpiritFingers
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'spirit_fingers/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'spirit_fingers'
8
+ spec.version = SpiritFingers::VERSION
9
+ spec.authors = ['Ariya Seng']
10
+ spec.email = ['ariya.seng@gmail.com']
11
+ spec.summary = 'Collection of Pry add-ons for Rails'
12
+ spec.description = 'A collection of Pry add-ons for Rails'
13
+ spec.homepage = 'https://github.com/natsumi/spirit_fingers'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_development_dependency 'bundler', '~> 1.7'
22
+ spec.add_development_dependency 'rake', '~> 10.0'
23
+
24
+ spec.required_ruby_version = '>= 2.0.0'
25
+ spec.add_runtime_dependency 'pry', '~> 0.10.1'
26
+ spec.add_runtime_dependency 'pry-rails', '~> 0.3.2'
27
+ spec.add_runtime_dependency 'pry-doc', '~> 0.6.0'
28
+ spec.add_runtime_dependency 'pry-stack_explorer', '~> 0.4.9.1'
29
+ spec.add_runtime_dependency 'pry-byebug', '~> 2.0'
30
+ spec.add_runtime_dependency 'pry-coolline', '~> 0.2'
31
+ spec.add_runtime_dependency 'pry-rescue', '~>1.4'
32
+ spec.add_runtime_dependency 'pry-clipboard', '~> 0.1'
33
+ spec.add_runtime_dependency 'hirb', '~> 0.7.2'
34
+ spec.add_runtime_dependency 'awesome_print', '~> 1.6'
35
+
36
+ end
metadata ADDED
@@ -0,0 +1,221 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spirit_fingers
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ariya Seng
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.10.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.10.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.3.2
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.3.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-doc
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.6.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.6.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-stack_explorer
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.4.9.1
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.4.9.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry-byebug
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry-coolline
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.2'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.2'
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry-rescue
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.4'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.4'
139
+ - !ruby/object:Gem::Dependency
140
+ name: pry-clipboard
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.1'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.1'
153
+ - !ruby/object:Gem::Dependency
154
+ name: hirb
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 0.7.2
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 0.7.2
167
+ - !ruby/object:Gem::Dependency
168
+ name: awesome_print
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '1.6'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '1.6'
181
+ description: A collection of Pry add-ons for Rails
182
+ email:
183
+ - ariya.seng@gmail.com
184
+ executables: []
185
+ extensions: []
186
+ extra_rdoc_files: []
187
+ files:
188
+ - ".gitignore"
189
+ - Gemfile
190
+ - LICENSE.txt
191
+ - README.md
192
+ - Rakefile
193
+ - lib/spirit_fingers.rb
194
+ - lib/spirit_fingers/version.rb
195
+ - spirit_fingers.gemspec
196
+ homepage: https://github.com/natsumi/spirit_fingers
197
+ licenses:
198
+ - MIT
199
+ metadata: {}
200
+ post_install_message:
201
+ rdoc_options: []
202
+ require_paths:
203
+ - lib
204
+ required_ruby_version: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: 2.0.0
209
+ required_rubygems_version: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ">="
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ requirements: []
215
+ rubyforge_project:
216
+ rubygems_version: 2.4.4
217
+ signing_key:
218
+ specification_version: 4
219
+ summary: Collection of Pry add-ons for Rails
220
+ test_files: []
221
+ has_rdoc: