rare_map 1.2.7 → 1.2.8

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile ADDED
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env rake
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
7
+ begin
8
+ require 'rdoc/task'
9
+ rescue LoadError
10
+ require 'rdoc/rdoc'
11
+ require 'rake/rdoctask'
12
+ RDoc::Task = Rake::RDocTask
13
+ end
14
+
15
+ RDoc::Task.new(:rdoc) do |rdoc|
16
+ rdoc.rdoc_dir = 'rdoc'
17
+ rdoc.title = 'RareMap'
18
+ rdoc.options << '--line-numbers'
19
+ rdoc.rdoc_files.include('README.rdoc')
20
+ rdoc.rdoc_files.include('lib/**/*.rb')
21
+ end
22
+
23
+
24
+
25
+
26
+ Bundler::GemHelper.install_tasks
27
+
28
+ require 'rake/testtask'
29
+
30
+ Rake::TestTask.new(:test) do |t|
31
+ t.libs << 'lib'
32
+ t.libs << 'test'
33
+ t.pattern = 'test/**/*_test.rb'
34
+ t.verbose = false
35
+ end
36
+
37
+
38
+ task :default => :test
@@ -1,9 +1,7 @@
1
- class RareMap
2
- module Version
3
- MAJOR = 1
4
- MINOR = 2
5
- PATCH = 7
1
+ module RareMap
2
+ MAJOR = 1
3
+ MINOR = 2
4
+ PATCH = 8
6
5
 
7
- STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
- end
6
+ VERSION = [MAJOR, MINOR, PATCH].compact.join('.')
9
7
  end
data/test/helper.rb ADDED
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+ require 'shoulda'
12
+
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
15
+ require 'rare_map'
16
+
17
+ class Test::Unit::TestCase
18
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestRareMap < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rare_map
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,8 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-02 00:00:00.000000000 Z
12
+ date: 2013-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: activerecord-jdbc-adapter
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - "~>"
20
- - !ruby/object:Gem::Version
21
- version: 1.2.5
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: 1.2.5
30
14
  - !ruby/object:Gem::Dependency
31
15
  name: rails
32
16
  requirement: !ruby/object:Gem::Requirement
@@ -112,11 +96,8 @@ email: wnameless@gmail.com
112
96
  executables:
113
97
  - raremap
114
98
  extensions: []
115
- extra_rdoc_files:
116
- - LICENSE.txt
117
- - README.rdoc
99
+ extra_rdoc_files: []
118
100
  files:
119
- - lib/rare_map.rb
120
101
  - lib/rare_map/config_loader.rb
121
102
  - lib/rare_map/model_builder.rb
122
103
  - lib/rare_map/model_generator.rb
@@ -124,8 +105,12 @@ files:
124
105
  - lib/rare_map/schema_parser.rb
125
106
  - lib/rare_map/schema_reader.rb
126
107
  - lib/rare_map/version.rb
108
+ - lib/rare_map.rb
127
109
  - LICENSE.txt
110
+ - Rakefile
128
111
  - README.rdoc
112
+ - test/helper.rb
113
+ - test/test_rare_map.rb
129
114
  - bin/raremap
130
115
  homepage: http://github.com/wnameless/rare_map
131
116
  licenses:
@@ -142,17 +127,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
142
127
  version: '0'
143
128
  segments:
144
129
  - 0
145
- hash: 1544562621165384425
130
+ hash: -3460484773278636043
146
131
  required_rubygems_version: !ruby/object:Gem::Requirement
147
132
  none: false
148
133
  requirements:
149
134
  - - ">="
150
135
  - !ruby/object:Gem::Version
151
136
  version: '0'
137
+ segments:
138
+ - 0
139
+ hash: -3460484773278636043
152
140
  requirements: []
153
141
  rubyforge_project:
154
142
  rubygems_version: 1.8.24
155
143
  signing_key:
156
144
  specification_version: 3
157
- summary: rare_map-1.2.7
158
- test_files: []
145
+ summary: rare_map-1.2.8
146
+ test_files:
147
+ - test/helper.rb
148
+ - test/test_rare_map.rb