indentation 0.0.4 → 0.0.6

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.
@@ -0,0 +1,6 @@
1
+ *.mdxml -crlf -diff -merge
2
+ *.gz -crlf -diff -merge
3
+ *.tiff -crlf -diff -merge
4
+ *.jpg -crlf -diff -merge
5
+ *.pdf -crlf -diff -merge
6
+ *.png -crlf -diff -merge
@@ -0,0 +1,15 @@
1
+ Temp
2
+ test_results
3
+ # Presumes docs are generated from other files
4
+ doc
5
+ .cvs
6
+ .svn
7
+ *.gem
8
+ *.tgz
9
+ *.zip
10
+ *.jar
11
+ .DS_Store
12
+ .localized
13
+ thumbs
14
+ *.mdxml.bak
15
+ pkg/
@@ -1,3 +1,16 @@
1
+ === 0.0.6 2011-08-23
2
+ * Fixed documentation typo in gemspec
3
+
4
+ === 0.0.5 2011-08-23
5
+ * Removed autogenerated script/ and tasks/ directories
6
+ * Removed outdated spec.opts file
7
+ * Removed hoe dependency and newgem Rakefile
8
+ * Added gemspec
9
+ * Moved post-install message to gemspec and removed PostInstall.txt file
10
+ * Removed Manifest.txt
11
+ * Moved version information to lib/indentation/version.rb
12
+ * Added run_tests script
13
+
1
14
  === 0.0.4 2011-02-17
2
15
  * Fixed documentation to include find_least_indentation function
3
16
  * Added options hash to find_least_indentation function with options to:
data/gemspec ADDED
@@ -0,0 +1,26 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.unshift File.expand_path("../lib", __FILE__)
3
+ require "indentation/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "indentation"
7
+ s.version = Indentation::VERSION
8
+ s.authors = ["Samuel Dana"]
9
+ s.email = ["s.dana@prometheuscomputing.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{A library of extensions to Ruby's Array and String classes that allow indentation manipulation of Strings and Arrays of Strings.}
12
+ s.description = %q{A library of extensions to Ruby's Array and String classes that allow indentation manipulation of Strings and Arrays of Strings.}
13
+
14
+ s.rubyforge_project = "indentation"
15
+
16
+ s.post_install_message = %q{-------------------------------------------------------------------------------
17
+ Thanks for installing the indentation gem! :)
18
+
19
+ For current information on indentation, see http://samueldana.github.com/indentation/
20
+ -------------------------------------------------------------------------------}
21
+
22
+ s.files = `git ls-files`.split("\n")
23
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
24
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
25
+ s.require_paths = ["lib"]
26
+ end
@@ -3,7 +3,4 @@ $:.unshift(File.dirname(__FILE__)) unless
3
3
 
4
4
  require 'indentation/string_mod.rb'
5
5
  require 'indentation/array_mod.rb'
6
-
7
- module Indentation
8
- VERSION = '0.0.4'
9
- end
6
+ require 'indentation/version.rb'
@@ -0,0 +1,3 @@
1
+ module Indentation
2
+ VERSION = '0.0.6'
3
+ end
@@ -0,0 +1,2 @@
1
+ #!/bin/bash
2
+ rspec --colour --format documentation spec/
File without changes
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indentation
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Samuel Dana
@@ -15,66 +15,43 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-17 00:00:00 -05:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: hoe
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 41
30
- segments:
31
- - 2
32
- - 9
33
- - 1
34
- version: 2.9.1
35
- type: :development
36
- version_requirements: *id001
37
- description: A small library of extensions to Ruby's Array and String classes that allow indentation manipulation of Strings and Arrays of Strings. Has the capability of working with multi-line strings. If you frequently use String arrays to manipulate text, see synopsis (In README.rdoc) for examples of how indentation can make your life easier.
18
+ date: 2011-08-23 00:00:00 Z
19
+ dependencies: []
20
+
21
+ description: A library of extensions to Ruby's Array and String classes that allow indentation manipulation of Strings and Arrays of Strings.
38
22
  email:
39
23
  - s.dana@prometheuscomputing.com
40
24
  executables: []
41
25
 
42
26
  extensions: []
43
27
 
44
- extra_rdoc_files:
45
- - History.txt
46
- - Manifest.txt
47
- - PostInstall.txt
28
+ extra_rdoc_files: []
29
+
48
30
  files:
31
+ - .gitattributes
32
+ - .gitignore
49
33
  - History.txt
50
- - Manifest.txt
51
- - PostInstall.txt
52
34
  - README.rdoc
53
- - Rakefile
35
+ - gemspec
54
36
  - lib/indentation.rb
55
37
  - lib/indentation/array_mod.rb
56
38
  - lib/indentation/string_mod.rb
57
- - script/console
58
- - script/destroy
59
- - script/generate
39
+ - lib/indentation/version.rb
40
+ - run_tests
41
+ - spec/.rspec
60
42
  - spec/indentation_spec.rb
61
- - spec/spec.opts
62
43
  - spec/spec_helper.rb
63
- - tasks/rspec.rake
64
- - .gemtest
65
- has_rdoc: true
66
- homepage: http://github.com/samueldana/indentation
44
+ homepage: ""
67
45
  licenses: []
68
46
 
69
47
  post_install_message: |-
70
48
  -------------------------------------------------------------------------------
71
- Thanks for installing the indentation gem! :)
49
+ Thanks for installing the indentation gem! :)
72
50
 
73
- For current information on indentation, see http://samueldana.github.com/indentation/
74
- -------------------------------------------------------------------------------
75
- rdoc_options:
76
- - --main
77
- - README.rdoc
51
+ For current information on indentation, see http://samueldana.github.com/indentation/
52
+ -------------------------------------------------------------------------------
53
+ rdoc_options: []
54
+
78
55
  require_paths:
79
56
  - lib
80
57
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -98,9 +75,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
75
  requirements: []
99
76
 
100
77
  rubyforge_project: indentation
101
- rubygems_version: 1.5.2
78
+ rubygems_version: 1.8.5
102
79
  signing_key:
103
80
  specification_version: 3
104
- summary: A small library of extensions to Ruby's Array and String classes that allow indentation manipulation of Strings and Arrays of Strings
105
- test_files: []
106
-
81
+ summary: A library of extensions to Ruby's Array and String classes that allow indentation manipulation of Strings and Arrays of Strings.
82
+ test_files:
83
+ - spec/indentation_spec.rb
84
+ - spec/spec_helper.rb
data/.gemtest DELETED
File without changes
@@ -1,15 +0,0 @@
1
- History.txt
2
- Manifest.txt
3
- PostInstall.txt
4
- README.rdoc
5
- Rakefile
6
- lib/indentation.rb
7
- lib/indentation/array_mod.rb
8
- lib/indentation/string_mod.rb
9
- script/console
10
- script/destroy
11
- script/generate
12
- spec/indentation_spec.rb
13
- spec/spec.opts
14
- spec/spec_helper.rb
15
- tasks/rspec.rake
@@ -1,5 +0,0 @@
1
- -------------------------------------------------------------------------------
2
- Thanks for installing the indentation gem! :)
3
-
4
- For current information on indentation, see http://samueldana.github.com/indentation/
5
- -------------------------------------------------------------------------------
data/Rakefile DELETED
@@ -1,40 +0,0 @@
1
- require 'rubygems'
2
- gem 'hoe', '>= 2.1.0'
3
- require 'hoe'
4
- require 'fileutils'
5
- require './lib/indentation'
6
-
7
- Hoe.plugin :newgem
8
- # Hoe.plugin :website
9
-
10
- # Generate all the Rake tasks
11
- # Run 'rake -T' to see list of generated tasks (from gem root directory)
12
- $hoe = Hoe.spec 'indentation' do
13
- self.developer 'Samuel Dana', 's.dana@prometheuscomputing.com'
14
- self.post_install_message = File.read(File.join(File.dirname(__FILE__),'PostInstall.txt'))
15
- self.rubyforge_name = self.name # TODO this is default value
16
- # self.extra_deps = [['activesupport','>= 2.0.2']]
17
-
18
- end
19
-
20
- require 'newgem/tasks'
21
- Dir['tasks/**/*.rake'].each { |t| load t }
22
-
23
- # TODO - want other tests/tasks run by default? Add them to the list
24
- # remove_task :default
25
- # task :default => [:spec, :features]
26
-
27
- # Add rvm gem install tasks
28
- desc 'Install the package as a gem for rvm (no sudo), without generating documentation(ri/rdoc)'
29
- task :rvm_install_gem_no_doc => [:clean, :package] do
30
- sh "gem install pkg/*.gem --no-rdoc --no-ri"
31
- end
32
-
33
- desc 'Shortcut to rvm_install_gem_no_doc task'
34
- task :rig => [:rvm_install_gem_no_doc] do
35
- end
36
-
37
- desc 'Install the package as a gem for rvm (no sudo)'
38
- task :rvm_install_gem => [:clean, :package] do
39
- sh "gem install pkg/*.gem"
40
- end
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # File: script/console
3
- irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
-
5
- libs = " -r irb/completion"
6
- # Perhaps use a console_lib to store any extra methods I may want available in the cosole
7
- # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8
- libs << " -r #{File.dirname(__FILE__) + '/../lib/indentation.rb'}"
9
- puts "Loading indentation gem"
10
- exec "#{irb} #{libs} --simple-prompt"
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
-
4
- begin
5
- require 'rubigen'
6
- rescue LoadError
7
- require 'rubygems'
8
- require 'rubigen'
9
- end
10
- require 'rubigen/scripts/destroy'
11
-
12
- ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
- RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
- RubiGen::Scripts::Destroy.new.run(ARGV)
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
-
4
- begin
5
- require 'rubigen'
6
- rescue LoadError
7
- require 'rubygems'
8
- require 'rubigen'
9
- end
10
- require 'rubigen/scripts/generate'
11
-
12
- ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
- RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
- RubiGen::Scripts::Generate.new.run(ARGV)
@@ -1,21 +0,0 @@
1
- begin
2
- require 'rspec'
3
- rescue LoadError
4
- require 'rubygems' unless ENV['NO_RUBYGEMS']
5
- require 'rspec'
6
- end
7
- begin
8
- require 'rspec/core/rake_task'
9
- rescue LoadError
10
- puts <<-EOS
11
- To use rspec for testing you must install rspec gem:
12
- gem install rspec
13
- EOS
14
- exit(0)
15
- end
16
-
17
- desc "Run the specs under spec/models"
18
- RSpec::Core::RakeTask.new do |t|
19
- t.rspec_opts = ['--options', "spec/spec.opts"]
20
- # t.files = FileList['spec/**/*_spec.rb']
21
- end