ruby-beautify 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/README.md +5 -0
- data/bin/rbeautify +29 -0
- data/lib/app.rb +79 -0
- data/lib/beautifier.rb +168 -0
- data/lib/cli.rb +81 -0
- data/lib/filemagic.rb +13 -0
- data/lib/rbeautify.rb +27 -0
- data/lib/rbeautify/block_end.rb +23 -0
- data/lib/rbeautify/block_matcher.rb +153 -0
- data/lib/rbeautify/block_start.rb +119 -0
- data/lib/rbeautify/config/ruby.rb +131 -0
- data/lib/rbeautify/language.rb +37 -0
- data/lib/rbeautify/line.rb +53 -0
- data/license.txt +77 -0
- data/rbeautify.gemspec +15 -0
- data/spec/fixtures/ruby.yml +408 -0
- data/spec/rbeautify/block_matcher_spec.rb +89 -0
- data/spec/rbeautify/block_start_spec.rb +51 -0
- data/spec/rbeautify/config/ruby_spec.rb +183 -0
- data/spec/rbeautify/line_spec.rb +73 -0
- data/spec/rbeautify_spec.rb +1 -0
- data/spec/spec_helper.rb +124 -0
- metadata +95 -0
metadata
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby-beautify
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Ernie Brodeur
|
9
|
+
- Craig Williams
|
10
|
+
- Joel Chippindale
|
11
|
+
- Paul Lutus
|
12
|
+
autorequire:
|
13
|
+
bindir: bin
|
14
|
+
cert_chain: []
|
15
|
+
date: 2012-07-08 00:00:00.000000000 Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: rspec
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ! '>='
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '0'
|
25
|
+
type: :development
|
26
|
+
prerelease: false
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
description: a cli tool (and module) to beautify ruby code.
|
34
|
+
email: ebrodeur@ujami.net
|
35
|
+
executables:
|
36
|
+
- rbeautify
|
37
|
+
extensions: []
|
38
|
+
extra_rdoc_files: []
|
39
|
+
files:
|
40
|
+
- .gitignore
|
41
|
+
- README.md
|
42
|
+
- bin/rbeautify
|
43
|
+
- lib/app.rb
|
44
|
+
- lib/beautifier.rb
|
45
|
+
- lib/cli.rb
|
46
|
+
- lib/filemagic.rb
|
47
|
+
- lib/rbeautify.rb
|
48
|
+
- lib/rbeautify/block_end.rb
|
49
|
+
- lib/rbeautify/block_matcher.rb
|
50
|
+
- lib/rbeautify/block_start.rb
|
51
|
+
- lib/rbeautify/config/ruby.rb
|
52
|
+
- lib/rbeautify/language.rb
|
53
|
+
- lib/rbeautify/line.rb
|
54
|
+
- license.txt
|
55
|
+
- rbeautify.gemspec
|
56
|
+
- spec/fixtures/ruby.yml
|
57
|
+
- spec/rbeautify/block_matcher_spec.rb
|
58
|
+
- spec/rbeautify/block_start_spec.rb
|
59
|
+
- spec/rbeautify/config/ruby_spec.rb
|
60
|
+
- spec/rbeautify/line_spec.rb
|
61
|
+
- spec/rbeautify_spec.rb
|
62
|
+
- spec/spec_helper.rb
|
63
|
+
homepage: https://github.com/erniebrodeur/ruby-beautify
|
64
|
+
licenses: []
|
65
|
+
post_install_message:
|
66
|
+
rdoc_options: []
|
67
|
+
require_paths:
|
68
|
+
- lib
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
71
|
+
requirements:
|
72
|
+
- - ! '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
requirements: []
|
82
|
+
rubyforge_project:
|
83
|
+
rubygems_version: 1.8.21
|
84
|
+
signing_key:
|
85
|
+
specification_version: 3
|
86
|
+
summary: a cli tool (and module) to beautify ruby code.
|
87
|
+
test_files:
|
88
|
+
- spec/fixtures/ruby.yml
|
89
|
+
- spec/rbeautify/block_matcher_spec.rb
|
90
|
+
- spec/rbeautify/block_start_spec.rb
|
91
|
+
- spec/rbeautify/config/ruby_spec.rb
|
92
|
+
- spec/rbeautify/line_spec.rb
|
93
|
+
- spec/rbeautify_spec.rb
|
94
|
+
- spec/spec_helper.rb
|
95
|
+
has_rdoc:
|