mince 2.0.0.pre → 2.0.0.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mince/config.rb +17 -1
- data/lib/mince/data_model.rb +319 -0
- data/lib/mince/model.rb +161 -0
- data/lib/mince/shared_examples/interface_example.rb +76 -26
- data/lib/mince/version.rb +1 -1
- data/lib/mince.rb +130 -2
- data/spec/integration/simple_mince_data_model_spec.rb +55 -0
- data/spec/units/mince/data_model_spec.rb +228 -0
- data/spec/units/mince/model_spec.rb +128 -0
- metadata +52 -46
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mince
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.pre
|
4
|
+
version: 2.0.0.pre.2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,43 +10,55 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-10-
|
13
|
+
date: 2012-10-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
name: activesupport
|
17
|
+
requirement: &70277103007200 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '0
|
23
|
-
type: :
|
22
|
+
version: '3.0'
|
23
|
+
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements:
|
25
|
+
version_requirements: *70277103007200
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: activemodel
|
28
|
+
requirement: &70277103006480 !ruby/object:Gem::Requirement
|
26
29
|
none: false
|
27
30
|
requirements:
|
28
31
|
- - ~>
|
29
32
|
- !ruby/object:Gem::Version
|
30
|
-
version: '0
|
33
|
+
version: '3.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *70277103006480
|
31
37
|
- !ruby/object:Gem::Dependency
|
32
|
-
name:
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
name: rake
|
39
|
+
requirement: &70277103017520 !ruby/object:Gem::Requirement
|
34
40
|
none: false
|
35
41
|
requirements:
|
36
42
|
- - ~>
|
37
43
|
- !ruby/object:Gem::Version
|
38
|
-
version: '
|
44
|
+
version: '0.9'
|
39
45
|
type: :development
|
40
46
|
prerelease: false
|
41
|
-
version_requirements:
|
47
|
+
version_requirements: *70277103017520
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rspec
|
50
|
+
requirement: &70277103022680 !ruby/object:Gem::Requirement
|
42
51
|
none: false
|
43
52
|
requirements:
|
44
53
|
- - ~>
|
45
54
|
- !ruby/object:Gem::Version
|
46
55
|
version: '2.0'
|
56
|
+
type: :development
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *70277103022680
|
47
59
|
- !ruby/object:Gem::Dependency
|
48
60
|
name: guard-rspec
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
61
|
+
requirement: &70277103072300 !ruby/object:Gem::Requirement
|
50
62
|
none: false
|
51
63
|
requirements:
|
52
64
|
- - ~>
|
@@ -54,15 +66,10 @@ dependencies:
|
|
54
66
|
version: '0.6'
|
55
67
|
type: :development
|
56
68
|
prerelease: false
|
57
|
-
version_requirements:
|
58
|
-
none: false
|
59
|
-
requirements:
|
60
|
-
- - ~>
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0.6'
|
69
|
+
version_requirements: *70277103072300
|
63
70
|
- !ruby/object:Gem::Dependency
|
64
71
|
name: yard
|
65
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirement: &70277103066600 !ruby/object:Gem::Requirement
|
66
73
|
none: false
|
67
74
|
requirements:
|
68
75
|
- - ~>
|
@@ -70,15 +77,10 @@ dependencies:
|
|
70
77
|
version: '0.7'
|
71
78
|
type: :development
|
72
79
|
prerelease: false
|
73
|
-
version_requirements:
|
74
|
-
none: false
|
75
|
-
requirements:
|
76
|
-
- - ~>
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version: '0.7'
|
80
|
+
version_requirements: *70277103066600
|
79
81
|
- !ruby/object:Gem::Dependency
|
80
82
|
name: redcarpet
|
81
|
-
requirement: !ruby/object:Gem::Requirement
|
83
|
+
requirement: &70277103079580 !ruby/object:Gem::Requirement
|
82
84
|
none: false
|
83
85
|
requirements:
|
84
86
|
- - ~>
|
@@ -86,15 +88,10 @@ dependencies:
|
|
86
88
|
version: '2.1'
|
87
89
|
type: :development
|
88
90
|
prerelease: false
|
89
|
-
version_requirements:
|
90
|
-
none: false
|
91
|
-
requirements:
|
92
|
-
- - ~>
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: '2.1'
|
91
|
+
version_requirements: *70277103079580
|
95
92
|
- !ruby/object:Gem::Dependency
|
96
93
|
name: debugger
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirement: &70277103076040 !ruby/object:Gem::Requirement
|
98
95
|
none: false
|
99
96
|
requirements:
|
100
97
|
- - ~>
|
@@ -102,28 +99,29 @@ dependencies:
|
|
102
99
|
version: '1.2'
|
103
100
|
type: :development
|
104
101
|
prerelease: false
|
105
|
-
version_requirements:
|
106
|
-
none: false
|
107
|
-
requirements:
|
108
|
-
- - ~>
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '1.2'
|
102
|
+
version_requirements: *70277103076040
|
111
103
|
- !ruby/object:Gem::Dependency
|
112
104
|
name: hashy_db
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
105
|
+
requirement: &70277103086780 !ruby/object:Gem::Requirement
|
114
106
|
none: false
|
115
107
|
requirements:
|
116
|
-
- -
|
108
|
+
- - =
|
117
109
|
- !ruby/object:Gem::Version
|
118
110
|
version: 2.0.0.pre
|
119
111
|
type: :development
|
120
112
|
prerelease: false
|
121
|
-
version_requirements:
|
113
|
+
version_requirements: *70277103086780
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: rb-fsevent
|
116
|
+
requirement: &70277103092640 !ruby/object:Gem::Requirement
|
122
117
|
none: false
|
123
118
|
requirements:
|
124
|
-
- -
|
119
|
+
- - ~>
|
125
120
|
- !ruby/object:Gem::Version
|
126
|
-
version:
|
121
|
+
version: 0.9.0
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: *70277103092640
|
127
125
|
description: Library to interact with mince interfacing data libraries
|
128
126
|
email:
|
129
127
|
- matt@railsgrammer.com
|
@@ -134,9 +132,14 @@ files:
|
|
134
132
|
- lib/mince.rb
|
135
133
|
- lib/mince/version.rb
|
136
134
|
- lib/mince/config.rb
|
135
|
+
- lib/mince/data_model.rb
|
136
|
+
- lib/mince/model.rb
|
137
137
|
- lib/mince/shared_examples/interface_example.rb
|
138
138
|
- spec/units/mince/config_spec.rb
|
139
139
|
- spec/units/mince/interface_example_spec.rb
|
140
|
+
- spec/units/mince/data_model_spec.rb
|
141
|
+
- spec/units/mince/model_spec.rb
|
142
|
+
- spec/integration/simple_mince_data_model_spec.rb
|
140
143
|
homepage: https://github.com/asynchrony/mince
|
141
144
|
licenses: []
|
142
145
|
post_install_message:
|
@@ -157,11 +160,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
160
|
version: 1.3.1
|
158
161
|
requirements: []
|
159
162
|
rubyforge_project: mince
|
160
|
-
rubygems_version: 1.8.
|
163
|
+
rubygems_version: 1.8.10
|
161
164
|
signing_key:
|
162
165
|
specification_version: 3
|
163
166
|
summary: Library to interact with mince interfacing data libraries
|
164
167
|
test_files:
|
165
168
|
- spec/units/mince/config_spec.rb
|
166
169
|
- spec/units/mince/interface_example_spec.rb
|
170
|
+
- spec/units/mince/data_model_spec.rb
|
171
|
+
- spec/units/mince/model_spec.rb
|
172
|
+
- spec/integration/simple_mince_data_model_spec.rb
|
167
173
|
has_rdoc:
|