advancement 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -29,7 +29,7 @@ Write some tests for the migrations:
29
29
 
30
30
  require 'test_helper'
31
31
 
32
- class AdvancementPlacesTest < Advancement::TestCase
32
+ class PlacesMigrationTest < Advancement::TestCase
33
33
 
34
34
  def test_two_places_are_migrated
35
35
  run_migration
data/Rakefile CHANGED
@@ -1,2 +1,13 @@
1
1
  #!/usr/bin/env rake
2
2
  require "bundler/gem_tasks"
3
+
4
+ require 'rake/testtask'
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << 'lib'
8
+ t.libs << 'test'
9
+ t.pattern = 'test/**/*_test.rb'
10
+ t.verbose = false
11
+ end
12
+
13
+ task :default => :test
@@ -4,8 +4,8 @@ require File.expand_path('../lib/advancement/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Eloy Espinaco"]
6
6
  gem.email = ["eloyesp@gmail.com"]
7
- gem.description = %q{Progressive application retirement with TDD}
8
- gem.summary = %q{Advancement will help you write migrations and tests with your legacy data. Then you can retire legacy applications making possible continius integration in a phased rollout model.}
7
+ gem.description = %q{[currently in development] Progressive application retirement with TDD}
8
+ gem.summary = %q{[currently in development] Advancement will help you write migrations and tests with your legacy data. Then you can retire legacy applications making possible continius integration in a phased rollout model.}
9
9
  gem.homepage = ""
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
@@ -14,5 +14,9 @@ Gem::Specification.new do |gem|
14
14
  gem.name = "advancement"
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Advancement::VERSION
17
+
18
+ # gem.add_dependency "rails", "~> 3.2.2"
19
+
20
+ gem.add_development_dependency "minitest"
17
21
  end
18
22
 
@@ -0,0 +1,4 @@
1
+ require 'test/unit'
2
+ class Advancement::TestCase < Test::Unit::TestCase
3
+ end
4
+
@@ -1,3 +1,3 @@
1
1
  module Advancement
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+ require 'advancement/test_case'
3
+
4
+ class AdvancementTestCaseTest < MiniTest::Unit::TestCase
5
+ def test_sanity
6
+ assert_kind_of Class, Advancement::TestCase
7
+ end
8
+ end
9
+
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class AdvancementTest < MiniTest::Unit::TestCase
4
+ def test_sanity
5
+ assert_kind_of Module, Advancement
6
+ end
7
+ end
8
+
@@ -0,0 +1,3 @@
1
+ require 'minitest/autorun'
2
+ require 'advancement'
3
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: advancement
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,9 +9,26 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-01 00:00:00.000000000 Z
13
- dependencies: []
14
- description: Progressive application retirement with TDD
12
+ date: 2012-11-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: minitest
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: ! '[currently in development] Progressive application retirement with
31
+ TDD'
15
32
  email:
16
33
  - eloyesp@gmail.com
17
34
  executables: []
@@ -25,9 +42,11 @@ files:
25
42
  - Rakefile
26
43
  - advancement.gemspec
27
44
  - lib/advancement.rb
45
+ - lib/advancement/test_case.rb
28
46
  - lib/advancement/version.rb
29
- - lib/legacy.rb
30
- - lib/legacy/version.rb
47
+ - test/advancement/test_case_test.rb
48
+ - test/advancement_test.rb
49
+ - test/test_helper.rb
31
50
  homepage: ''
32
51
  licenses: []
33
52
  post_install_message:
@@ -51,8 +70,11 @@ rubyforge_project:
51
70
  rubygems_version: 1.8.24
52
71
  signing_key:
53
72
  specification_version: 3
54
- summary: Advancement will help you write migrations and tests with your legacy data.
55
- Then you can retire legacy applications making possible continius integration in
56
- a phased rollout model.
57
- test_files: []
73
+ summary: ! '[currently in development] Advancement will help you write migrations
74
+ and tests with your legacy data. Then you can retire legacy applications making
75
+ possible continius integration in a phased rollout model.'
76
+ test_files:
77
+ - test/advancement/test_case_test.rb
78
+ - test/advancement_test.rb
79
+ - test/test_helper.rb
58
80
  has_rdoc:
@@ -1,5 +0,0 @@
1
- require "legacy/version"
2
-
3
- module Legacy
4
- # Your code goes here...
5
- end
@@ -1,3 +0,0 @@
1
- module Legacy
2
- VERSION = "0.0.1"
3
- end