artisan-ar-repository 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,36 @@
1
+ require 'spec_helper'
2
+ require 'artisan-ar-repository/artisan_ar_repository'
3
+
4
+ describe ArtisanArRepository do
5
+ it "has a story repo" do
6
+ ArtisanArRepository.story.should be_a ArtisanArRepository::StoryRepository
7
+ end
8
+
9
+ it "has a project repo" do
10
+ ArtisanArRepository.project.should be_a ArtisanArRepository::ProjectRepository
11
+ end
12
+
13
+ it "has a iteration repo" do
14
+ ArtisanArRepository.iteration.should be_a ArtisanArRepository::IterationRepository
15
+ end
16
+
17
+ it "has a future user repo" do
18
+ ArtisanArRepository.future_user.should be_a ArtisanArRepository::FutureUserRepository
19
+ end
20
+
21
+ it "has a user repo" do
22
+ ArtisanArRepository.user.should be_a ArtisanArRepository::UserRepository
23
+ end
24
+
25
+ it "has a member repo" do
26
+ ArtisanArRepository.member.should be_a ArtisanArRepository::MemberRepository
27
+ end
28
+
29
+ it "has a project_configuration repo" do
30
+ ArtisanArRepository.project_configuration.should be_a ArtisanArRepository::ProjectConfigurationRepository
31
+ end
32
+
33
+ it "has a change repo" do
34
+ ArtisanArRepository.change.should be_a ArtisanArRepository::ChangeRepository
35
+ end
36
+ end
@@ -0,0 +1,7 @@
1
+ require 'spec_helper'
2
+ require 'artisan/shared_examples/change_examples'
3
+ require 'artisan-ar-repository/change_repository'
4
+
5
+ describe ArtisanArRepository::ChangeRepository do
6
+ it_behaves_like "change repository"
7
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+ require 'artisan/shared_examples/future_user_examples'
3
+ require 'artisan-ar-repository/future_user_repository'
4
+ require 'artisan-ar-repository/project_repository'
5
+
6
+ describe ArtisanArRepository::FutureUserRepository do
7
+ it_behaves_like "future user repository"
8
+ end
9
+
@@ -0,0 +1,6 @@
1
+ require 'artisan/shared_examples/iteration_examples'
2
+ require 'artisan-ar-repository/iteration_repository'
3
+
4
+ describe ArtisanArRepository::IterationRepository do
5
+ it_behaves_like "iteration repository"
6
+ end
@@ -0,0 +1,5 @@
1
+ require 'artisan-ar-repository/member_repository'
2
+
3
+ describe ArtisanArRepository::MemberRepository do
4
+ let(:repo) { ArtisanArRepository::MemberRepository.new }
5
+ end
@@ -0,0 +1,7 @@
1
+ require 'spec_helper'
2
+ require 'artisan/shared_examples/project_examples'
3
+ require 'artisan-ar-repository/project_repository'
4
+
5
+ describe ArtisanArRepository::ProjectRepository do
6
+ it_behaves_like "project repository"
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'spec_helper'
2
+ require 'artisan/shared_examples/story_examples'
3
+ require 'artisan-ar-repository/story_repository'
4
+
5
+ describe ArtisanArRepository::StoryRepository do
6
+ it_behaves_like("story repository")
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'spec_helper'
2
+ require 'artisan/shared_examples/user_examples'
3
+ require 'artisan-ar-repository/user_repository'
4
+
5
+ describe ArtisanArRepository::UserRepository do
6
+ it_behaves_like "user repository"
7
+ end
metadata ADDED
@@ -0,0 +1,74 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: artisan-ar-repository
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - 8th Light Craftsmen
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2012-10-13 00:00:00 Z
14
+ dependencies: []
15
+
16
+ description: An interface to the artisan active record persistance layer
17
+ email: paul@8thlight.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
24
+ files:
25
+ - spec/artisan_ar_repository_spec.rb
26
+ - spec/change_repository_spec.rb
27
+ - spec/future_user_repository_spec.rb
28
+ - spec/iteration_repository_spec.rb
29
+ - spec/member_repository_spec.rb
30
+ - spec/project_repository_spec.rb
31
+ - spec/story_repository_spec.rb
32
+ - spec/user_repository_spec.rb
33
+ homepage: http://8thlight.com
34
+ licenses: []
35
+
36
+ post_install_message:
37
+ rdoc_options: []
38
+
39
+ require_paths:
40
+ - lib
41
+ required_ruby_version: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ hash: -1142799535168158555
47
+ segments:
48
+ - 0
49
+ version: "0"
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ hash: -1142799535168158555
56
+ segments:
57
+ - 0
58
+ version: "0"
59
+ requirements: []
60
+
61
+ rubyforge_project:
62
+ rubygems_version: 1.8.24
63
+ signing_key:
64
+ specification_version: 3
65
+ summary: Artisan Active Record Repository
66
+ test_files:
67
+ - spec/artisan_ar_repository_spec.rb
68
+ - spec/change_repository_spec.rb
69
+ - spec/future_user_repository_spec.rb
70
+ - spec/iteration_repository_spec.rb
71
+ - spec/member_repository_spec.rb
72
+ - spec/project_repository_spec.rb
73
+ - spec/story_repository_spec.rb
74
+ - spec/user_repository_spec.rb