acts_as_defaultable 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +28 -28
- data/acts_as_defaultable.gemspec +1 -1
- data/lib/acts_as_defaultable/version.rb +1 -1
- data/spec/dummy/db/schema.rb +7 -12
- metadata +24 -24
data/Gemfile.lock
CHANGED
@@ -17,37 +17,37 @@ GIT
|
|
17
17
|
PATH
|
18
18
|
remote: .
|
19
19
|
specs:
|
20
|
-
acts_as_defaultable (0.0.
|
21
|
-
rails (
|
20
|
+
acts_as_defaultable (0.0.4)
|
21
|
+
rails (~> 3.2.1)
|
22
22
|
|
23
23
|
GEM
|
24
24
|
remote: http://rubygems.org/
|
25
25
|
specs:
|
26
|
-
actionmailer (3.2.
|
27
|
-
actionpack (= 3.2.
|
26
|
+
actionmailer (3.2.1)
|
27
|
+
actionpack (= 3.2.1)
|
28
28
|
mail (~> 2.4.0)
|
29
|
-
actionpack (3.2.
|
30
|
-
activemodel (= 3.2.
|
31
|
-
activesupport (= 3.2.
|
29
|
+
actionpack (3.2.1)
|
30
|
+
activemodel (= 3.2.1)
|
31
|
+
activesupport (= 3.2.1)
|
32
32
|
builder (~> 3.0.0)
|
33
33
|
erubis (~> 2.7.0)
|
34
|
-
journey (~> 1.0.
|
34
|
+
journey (~> 1.0.1)
|
35
35
|
rack (~> 1.4.0)
|
36
36
|
rack-cache (~> 1.1)
|
37
37
|
rack-test (~> 0.6.1)
|
38
38
|
sprockets (~> 2.1.2)
|
39
|
-
activemodel (3.2.
|
40
|
-
activesupport (= 3.2.
|
39
|
+
activemodel (3.2.1)
|
40
|
+
activesupport (= 3.2.1)
|
41
41
|
builder (~> 3.0.0)
|
42
|
-
activerecord (3.2.
|
43
|
-
activemodel (= 3.2.
|
44
|
-
activesupport (= 3.2.
|
42
|
+
activerecord (3.2.1)
|
43
|
+
activemodel (= 3.2.1)
|
44
|
+
activesupport (= 3.2.1)
|
45
45
|
arel (~> 3.0.0)
|
46
46
|
tzinfo (~> 0.3.29)
|
47
|
-
activeresource (3.2.
|
48
|
-
activemodel (= 3.2.
|
49
|
-
activesupport (= 3.2.
|
50
|
-
activesupport (3.2.
|
47
|
+
activeresource (3.2.1)
|
48
|
+
activemodel (= 3.2.1)
|
49
|
+
activesupport (= 3.2.1)
|
50
|
+
activesupport (3.2.1)
|
51
51
|
i18n (~> 0.6)
|
52
52
|
multi_json (~> 1.0)
|
53
53
|
arel (3.0.0)
|
@@ -67,7 +67,7 @@ GEM
|
|
67
67
|
guard (>= 0.10.0)
|
68
68
|
hike (1.2.1)
|
69
69
|
i18n (0.6.0)
|
70
|
-
journey (1.0.
|
70
|
+
journey (1.0.1)
|
71
71
|
json (1.6.5)
|
72
72
|
libnotify (0.7.0)
|
73
73
|
mail (2.4.1)
|
@@ -85,17 +85,17 @@ GEM
|
|
85
85
|
rack
|
86
86
|
rack-test (0.6.1)
|
87
87
|
rack (>= 1.0)
|
88
|
-
rails (3.2.
|
89
|
-
actionmailer (= 3.2.
|
90
|
-
actionpack (= 3.2.
|
91
|
-
activerecord (= 3.2.
|
92
|
-
activeresource (= 3.2.
|
93
|
-
activesupport (= 3.2.
|
88
|
+
rails (3.2.1)
|
89
|
+
actionmailer (= 3.2.1)
|
90
|
+
actionpack (= 3.2.1)
|
91
|
+
activerecord (= 3.2.1)
|
92
|
+
activeresource (= 3.2.1)
|
93
|
+
activesupport (= 3.2.1)
|
94
94
|
bundler (~> 1.0)
|
95
|
-
railties (= 3.2.
|
96
|
-
railties (3.2.
|
97
|
-
actionpack (= 3.2.
|
98
|
-
activesupport (= 3.2.
|
95
|
+
railties (= 3.2.1)
|
96
|
+
railties (3.2.1)
|
97
|
+
actionpack (= 3.2.1)
|
98
|
+
activesupport (= 3.2.1)
|
99
99
|
rack-ssl (~> 1.3.2)
|
100
100
|
rake (>= 0.8.7)
|
101
101
|
rdoc (~> 3.4)
|
data/acts_as_defaultable.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.require_paths = ['lib']
|
21
21
|
#s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
|
22
22
|
|
23
|
-
s.add_dependency "rails", "3.2.
|
23
|
+
s.add_dependency "rails", "~> 3.2.1"
|
24
24
|
|
25
25
|
s.add_development_dependency 'mysql2'
|
26
26
|
s.add_development_dependency 'rspec-rails'
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,11 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended to check this file into your version control system.
|
13
13
|
|
14
|
-
<<<<<<< HEAD
|
15
14
|
ActiveRecord::Schema.define(:version => 20120105110842) do
|
16
|
-
=======
|
17
|
-
ActiveRecord::Schema.define(:version => 20120104234100) do
|
18
|
-
>>>>>>> a78d85a48420ac87365e2329405c3644dc18a672
|
19
15
|
|
20
16
|
create_table "anothers", :force => true do |t|
|
21
17
|
t.string "test"
|
@@ -52,7 +48,13 @@ ActiveRecord::Schema.define(:version => 20120104234100) do
|
|
52
48
|
t.datetime "updated_at", :null => false
|
53
49
|
end
|
54
50
|
|
55
|
-
|
51
|
+
create_table "test_defaults", :force => true do |t|
|
52
|
+
t.string "name"
|
53
|
+
t.boolean "default", :default => false
|
54
|
+
t.datetime "created_at", :null => false
|
55
|
+
t.datetime "updated_at", :null => false
|
56
|
+
end
|
57
|
+
|
56
58
|
create_table "users", :force => true do |t|
|
57
59
|
t.string "role"
|
58
60
|
t.string "name"
|
@@ -65,13 +67,6 @@ ActiveRecord::Schema.define(:version => 20120104234100) do
|
|
65
67
|
t.integer "position"
|
66
68
|
t.datetime "created_at", :null => false
|
67
69
|
t.datetime "updated_at", :null => false
|
68
|
-
=======
|
69
|
-
create_table "test_defaults", :force => true do |t|
|
70
|
-
t.string "name"
|
71
|
-
t.boolean "default", :default => false
|
72
|
-
t.datetime "created_at", :null => false
|
73
|
-
t.datetime "updated_at", :null => false
|
74
|
-
>>>>>>> a78d85a48420ac87365e2329405c3644dc18a672
|
75
70
|
end
|
76
71
|
|
77
72
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_defaultable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-02-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &19459700 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2.
|
21
|
+
version: 3.2.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *19459700
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: mysql2
|
27
|
-
requirement: &
|
27
|
+
requirement: &19459260 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *19459260
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec-rails
|
38
|
-
requirement: &
|
38
|
+
requirement: &19458620 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *19458620
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: factory_girl_rails
|
49
|
-
requirement: &
|
49
|
+
requirement: &19458080 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *19458080
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: spork
|
60
|
-
requirement: &
|
60
|
+
requirement: &19457520 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - =
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 0.9.0.rc9
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *19457520
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rb-fsevent
|
71
|
-
requirement: &
|
71
|
+
requirement: &19234080 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *19234080
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: guard-rspec
|
82
|
-
requirement: &
|
82
|
+
requirement: &19233360 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *19233360
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: libnotify
|
93
|
-
requirement: &
|
93
|
+
requirement: &19232580 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *19232580
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: database_cleaner
|
104
|
-
requirement: &
|
104
|
+
requirement: &19232060 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *19232060
|
113
113
|
description: This 'acts_as' extension provides the capability for having a default
|
114
114
|
object. The class that has this specified needs to have a default column defined
|
115
115
|
as an integer, string or boolean on the mapped database table
|
@@ -199,7 +199,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
199
|
version: '0'
|
200
200
|
segments:
|
201
201
|
- 0
|
202
|
-
hash:
|
202
|
+
hash: 2672945827084935828
|
203
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
204
|
none: false
|
205
205
|
requirements:
|
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
version: '0'
|
209
209
|
segments:
|
210
210
|
- 0
|
211
|
-
hash:
|
211
|
+
hash: 2672945827084935828
|
212
212
|
requirements: []
|
213
213
|
rubyforge_project:
|
214
214
|
rubygems_version: 1.8.10
|