main 5.1.1 → 5.2.0

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.
data/db ADDED
File without changes
@@ -1,7 +1,7 @@
1
1
  module Main
2
2
  # top level constants
3
3
  #
4
- Main::VERSION = '5.1.1' unless
4
+ Main::VERSION = '5.2.0' unless
5
5
  defined? Main::VERSION
6
6
  def self.version() Main::VERSION end
7
7
 
@@ -295,6 +295,7 @@ module Main
295
295
  @state_path
296
296
  end
297
297
  end
298
+ alias_method('dotdir', 'state_path')
298
299
 
299
300
  def db(*args, &block)
300
301
  unless defined?(@db)
@@ -272,6 +272,7 @@ module Main
272
272
  def state_path(&block)
273
273
  self.class.state_path(&block)
274
274
  end
275
+ alias_method('dotdir', 'state_path')
275
276
 
276
277
  def db(&block)
277
278
  self.class.db(&block)
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "main"
6
- spec.version = "5.1.1"
6
+ spec.version = "5.2.0"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "main"
9
9
  spec.description = "description: main kicks the ass"
@@ -14,6 +14,7 @@ Gem::Specification::new do |spec|
14
14
  "README.erb",
15
15
  "Rakefile",
16
16
  "TODO",
17
+ "db",
17
18
  "lib",
18
19
  "lib/main",
19
20
  "lib/main.rb",
@@ -34,6 +35,7 @@ Gem::Specification::new do |spec|
34
35
  "lib/main/usage.rb",
35
36
  "lib/main/util.rb",
36
37
  "main.gemspec",
38
+ "out",
37
39
  "samples",
38
40
  "samples/a.rb",
39
41
  "samples/b.rb",
data/out ADDED
@@ -0,0 +1,9 @@
1
+ 42
2
+ irb(main):004:0>
3
+ irb(main):005:0*
4
+ irb(main):006:0*
5
+ irb(main):007:0*
6
+ irb(main):008:0* irb(main):008:0> => true
7
+
8
+
9
+ => nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: main
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.1
4
+ version: 5.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-06 00:00:00.000000000 Z
12
+ date: 2013-03-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chronic
@@ -86,6 +86,7 @@ files:
86
86
  - README.erb
87
87
  - Rakefile
88
88
  - TODO
89
+ - db
89
90
  - lib/main.rb
90
91
  - lib/main/cast.rb
91
92
  - lib/main/dsl.rb
@@ -103,6 +104,7 @@ files:
103
104
  - lib/main/usage.rb
104
105
  - lib/main/util.rb
105
106
  - main.gemspec
107
+ - out
106
108
  - samples/a.rb
107
109
  - samples/b.rb
108
110
  - samples/c.rb
@@ -133,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
135
  version: '0'
134
136
  requirements: []
135
137
  rubyforge_project: codeforpeople
136
- rubygems_version: 1.8.24
138
+ rubygems_version: 1.8.23
137
139
  signing_key:
138
140
  specification_version: 3
139
141
  summary: main