globalize-versioning 0.1.0.alpha.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/CHANGELOG.md +8 -0
- data/Gemfile +14 -11
- data/Gemfile.lock +36 -65
- data/Rakefile +1 -0
- data/lib/globalize/versioning/paper_trail.rb +1 -1
- data/lib/globalize/versioning/version.rb +1 -1
- metadata +70 -43
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
N2VkZjliYWFiZDZlNGQ5ZjgwNzYzY2NjNWRiZmU0MTM1MjQwMGJhN2JiYjdh
|
10
|
-
NWFmOGJiOGRiNjliMjdjMjE5MzczODhmNDI1YTEyOGVmNTg3MzFlMjc0YTVh
|
11
|
-
ZDBmYjJhZmNkMzdmNDNjMjhiNDM4YzMxMmM2ZWJmNjk1OTM0NmI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NDg3ZDlmM2Y4NGE2Y2IzZWU3MGM5ZTg3ZDc4ZmJmZDIwM2UxYzlmZjE5NmVh
|
14
|
-
MTY1YTYyZjljM2Q5YzE5NWE0MTkwMTk3YjJlMDkyOTEwMzUzY2NiZTRiZmY1
|
15
|
-
MDQzN2JkMTZjY2RlZmRkOGZhNGZkMzZkZmQ5NmM3YzdmM2QxNmI=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f4acf11147b891e45ae174ea06b6bef0a861b0c0
|
4
|
+
data.tar.gz: 3960fde8d1a5889fcc83b5d40084a8fbfd120fbe
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ffbb4464be3585279906b187fac6c3b0e2eb59d39eb2bff3da27f1f6bd43540f8355ce17e41a8f032bd578b7be076e4ad096438986ff193dd2f597928accaa33
|
7
|
+
data.tar.gz: 94a5ee0da56d5cb1c3cabd765bede3f97710ba6b306e0c512f784886cab56f4d1d9aaa4622c03fabf764039f2a9994e2a36ee1131b155046b03cc1168965bd56
|
data/CHANGELOG.md
ADDED
data/Gemfile
CHANGED
@@ -1,16 +1,19 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# once these versions of globalized are released, we can remove this
|
4
|
-
if ENV['RAILS_3']
|
5
|
-
gem 'globalize', github: 'globalize/globalize', branch: 'gut_versioning_3-0'
|
6
|
-
end
|
7
|
-
|
8
3
|
gemspec
|
9
4
|
|
10
|
-
|
11
|
-
gem '
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
gem '
|
5
|
+
if ENV['RAILS'] == "3.2"
|
6
|
+
gem 'activerecord', '~> 3.2.0'
|
7
|
+
gem 'activemodel', '~> 3.2.0'
|
8
|
+
gem 'globalize', '~> 3.0.4'
|
9
|
+
elsif ENV['RAILS'] == "4.0"
|
10
|
+
gem 'activerecord', '~> 4.0.0'
|
11
|
+
gem 'activemodel', '~> 4.0.0'
|
12
|
+
gem 'globalize', '~> 4.0'
|
13
|
+
elsif ENV['RAILS'] == "4.1"
|
14
|
+
gem 'activerecord', '~> 4.1.0'
|
15
|
+
gem 'activemodel', '~> 4.1.0'
|
16
|
+
gem 'globalize', '~> 4.0'
|
17
|
+
else # Rails 4.2
|
18
|
+
gem 'globalize', '~> 5.0'
|
16
19
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,84 +1,55 @@
|
|
1
|
-
GIT
|
2
|
-
remote: git://github.com/bmabey/database_cleaner.git
|
3
|
-
revision: 072492166e82969136d1abaeccbcadaae4fe6539
|
4
|
-
branch: master
|
5
|
-
specs:
|
6
|
-
database_cleaner (1.2.0)
|
7
|
-
|
8
|
-
GIT
|
9
|
-
remote: git://github.com/globalize/globalize.git
|
10
|
-
revision: b1622d455313e1df3b10397986df795b293c814c
|
11
|
-
branch: gut_versioning_4-0
|
12
|
-
specs:
|
13
|
-
globalize (4.0.0.alpha.5)
|
14
|
-
activemodel (>= 4.0.0)
|
15
|
-
activerecord (>= 4.0.0)
|
16
|
-
|
17
1
|
PATH
|
18
2
|
remote: .
|
19
3
|
specs:
|
20
|
-
globalize-versioning (0.1.0
|
21
|
-
|
4
|
+
globalize-versioning (0.1.0)
|
5
|
+
activemodel (>= 3.2.0, < 5)
|
6
|
+
activerecord (>= 3.2.0, < 5)
|
7
|
+
globalize (>= 3.0.4, < 6)
|
22
8
|
paper_trail (~> 3.0.0)
|
23
9
|
|
24
10
|
GEM
|
25
11
|
remote: https://rubygems.org/
|
26
12
|
specs:
|
27
|
-
activemodel (4.0
|
28
|
-
activesupport (= 4.0
|
29
|
-
builder (~> 3.1
|
30
|
-
activerecord (4.0
|
31
|
-
activemodel (= 4.0
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
i18n (0.
|
47
|
-
json (1.8.
|
48
|
-
|
49
|
-
|
50
|
-
minitest-colorize (0.0.5)
|
51
|
-
minitest (>= 2.0)
|
52
|
-
multi_json (1.8.2)
|
53
|
-
paper_trail (3.0.0)
|
13
|
+
activemodel (4.2.0)
|
14
|
+
activesupport (= 4.2.0)
|
15
|
+
builder (~> 3.1)
|
16
|
+
activerecord (4.2.0)
|
17
|
+
activemodel (= 4.2.0)
|
18
|
+
activesupport (= 4.2.0)
|
19
|
+
arel (~> 6.0)
|
20
|
+
activesupport (4.2.0)
|
21
|
+
i18n (~> 0.7)
|
22
|
+
json (~> 1.7, >= 1.7.7)
|
23
|
+
minitest (~> 5.1)
|
24
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
25
|
+
tzinfo (~> 1.1)
|
26
|
+
arel (6.0.0)
|
27
|
+
builder (3.2.2)
|
28
|
+
database_cleaner (1.4.0)
|
29
|
+
globalize (5.0.1)
|
30
|
+
activemodel (>= 4.2.0, < 4.3)
|
31
|
+
activerecord (>= 4.2.0, < 4.3)
|
32
|
+
i18n (0.7.0)
|
33
|
+
json (1.8.2)
|
34
|
+
minitest (5.5.1)
|
35
|
+
paper_trail (3.0.6)
|
54
36
|
activerecord (>= 3.0, < 5.0)
|
55
37
|
activesupport (>= 3.0, < 5.0)
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
rake (10.1.1)
|
63
|
-
rdoc (4.1.0)
|
64
|
-
json (~> 1.4)
|
65
|
-
slop (3.4.7)
|
66
|
-
sqlite3 (1.3.8)
|
67
|
-
thread_safe (0.1.3)
|
68
|
-
atomic
|
69
|
-
tzinfo (0.3.38)
|
38
|
+
rake (10.4.2)
|
39
|
+
rdoc (4.2.0)
|
40
|
+
sqlite3 (1.3.10)
|
41
|
+
thread_safe (0.3.4)
|
42
|
+
tzinfo (1.2.2)
|
43
|
+
thread_safe (~> 0.1)
|
70
44
|
|
71
45
|
PLATFORMS
|
72
46
|
ruby
|
73
47
|
|
74
48
|
DEPENDENCIES
|
75
|
-
database_cleaner
|
76
|
-
globalize
|
49
|
+
database_cleaner (>= 1.2.0)
|
50
|
+
globalize (~> 5.0)
|
77
51
|
globalize-versioning!
|
78
|
-
minitest
|
79
|
-
minitest-colorize
|
80
|
-
pry
|
81
|
-
pry-nav
|
52
|
+
minitest
|
82
53
|
rake
|
83
54
|
rdoc
|
84
55
|
sqlite3
|
data/Rakefile
CHANGED
@@ -23,7 +23,7 @@ ActiveRecord::Base.class_eval do
|
|
23
23
|
end
|
24
24
|
|
25
25
|
# to handle different versions of paper_trail
|
26
|
-
version_class =
|
26
|
+
version_class = PaperTrail::VERSION.is_a?(String) ? Version : PaperTrail::Version
|
27
27
|
|
28
28
|
version_class.class_eval do
|
29
29
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: globalize-versioning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philip Arndt
|
@@ -9,124 +9,150 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-02-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: activerecord
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
21
|
-
- - <
|
20
|
+
version: 3.2.0
|
21
|
+
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '5'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
31
|
-
- - <
|
30
|
+
version: 3.2.0
|
31
|
+
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '5'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
|
-
name:
|
35
|
+
name: activemodel
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.
|
40
|
+
version: 3.2.0
|
41
|
+
- - "<"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '5'
|
41
44
|
type: :runtime
|
42
45
|
prerelease: false
|
43
46
|
version_requirements: !ruby/object:Gem::Requirement
|
44
47
|
requirements:
|
45
|
-
- -
|
48
|
+
- - ">="
|
46
49
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.
|
50
|
+
version: 3.2.0
|
51
|
+
- - "<"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '5'
|
48
54
|
- !ruby/object:Gem::Dependency
|
49
|
-
name:
|
55
|
+
name: globalize
|
50
56
|
requirement: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
|
-
- -
|
58
|
+
- - ">="
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
|
60
|
+
version: 3.0.4
|
61
|
+
- - "<"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '6'
|
64
|
+
type: :runtime
|
56
65
|
prerelease: false
|
57
66
|
version_requirements: !ruby/object:Gem::Requirement
|
58
67
|
requirements:
|
59
|
-
- -
|
68
|
+
- - ">="
|
60
69
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
70
|
+
version: 3.0.4
|
71
|
+
- - "<"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '6'
|
62
74
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
75
|
+
name: paper_trail
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 3.0.0
|
81
|
+
type: :runtime
|
82
|
+
prerelease: false
|
83
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - "~>"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 3.0.0
|
88
|
+
- !ruby/object:Gem::Dependency
|
89
|
+
name: database_cleaner
|
64
90
|
requirement: !ruby/object:Gem::Requirement
|
65
91
|
requirements:
|
66
|
-
- -
|
92
|
+
- - ">="
|
67
93
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
94
|
+
version: 1.2.0
|
69
95
|
type: :development
|
70
96
|
prerelease: false
|
71
97
|
version_requirements: !ruby/object:Gem::Requirement
|
72
98
|
requirements:
|
73
|
-
- -
|
99
|
+
- - ">="
|
74
100
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
101
|
+
version: 1.2.0
|
76
102
|
- !ruby/object:Gem::Dependency
|
77
|
-
name: minitest
|
103
|
+
name: minitest
|
78
104
|
requirement: !ruby/object:Gem::Requirement
|
79
105
|
requirements:
|
80
|
-
- -
|
106
|
+
- - ">="
|
81
107
|
- !ruby/object:Gem::Version
|
82
108
|
version: '0'
|
83
109
|
type: :development
|
84
110
|
prerelease: false
|
85
111
|
version_requirements: !ruby/object:Gem::Requirement
|
86
112
|
requirements:
|
87
|
-
- -
|
113
|
+
- - ">="
|
88
114
|
- !ruby/object:Gem::Version
|
89
115
|
version: '0'
|
90
116
|
- !ruby/object:Gem::Dependency
|
91
117
|
name: sqlite3
|
92
118
|
requirement: !ruby/object:Gem::Requirement
|
93
119
|
requirements:
|
94
|
-
- -
|
120
|
+
- - ">="
|
95
121
|
- !ruby/object:Gem::Version
|
96
122
|
version: '0'
|
97
123
|
type: :development
|
98
124
|
prerelease: false
|
99
125
|
version_requirements: !ruby/object:Gem::Requirement
|
100
126
|
requirements:
|
101
|
-
- -
|
127
|
+
- - ">="
|
102
128
|
- !ruby/object:Gem::Version
|
103
129
|
version: '0'
|
104
130
|
- !ruby/object:Gem::Dependency
|
105
131
|
name: rdoc
|
106
132
|
requirement: !ruby/object:Gem::Requirement
|
107
133
|
requirements:
|
108
|
-
- -
|
134
|
+
- - ">="
|
109
135
|
- !ruby/object:Gem::Version
|
110
136
|
version: '0'
|
111
137
|
type: :development
|
112
138
|
prerelease: false
|
113
139
|
version_requirements: !ruby/object:Gem::Requirement
|
114
140
|
requirements:
|
115
|
-
- -
|
141
|
+
- - ">="
|
116
142
|
- !ruby/object:Gem::Version
|
117
143
|
version: '0'
|
118
144
|
- !ruby/object:Gem::Dependency
|
119
145
|
name: rake
|
120
146
|
requirement: !ruby/object:Gem::Requirement
|
121
147
|
requirements:
|
122
|
-
- -
|
148
|
+
- - ">="
|
123
149
|
- !ruby/object:Gem::Version
|
124
150
|
version: '0'
|
125
151
|
type: :development
|
126
152
|
prerelease: false
|
127
153
|
version_requirements: !ruby/object:Gem::Requirement
|
128
154
|
requirements:
|
129
|
-
- -
|
155
|
+
- - ">="
|
130
156
|
- !ruby/object:Gem::Version
|
131
157
|
version: '0'
|
132
158
|
description: Provides support for using versioning gems such as PaperTrail with Globalize.
|
@@ -135,14 +161,15 @@ executables: []
|
|
135
161
|
extensions: []
|
136
162
|
extra_rdoc_files: []
|
137
163
|
files:
|
138
|
-
-
|
139
|
-
-
|
140
|
-
- lib/globalize/versioning/version.rb
|
141
|
-
- lib/globalize-versioning.rb
|
164
|
+
- CHANGELOG.md
|
165
|
+
- Gemfile
|
142
166
|
- Gemfile.lock
|
143
167
|
- LICENSE
|
144
168
|
- Rakefile
|
145
|
-
-
|
169
|
+
- lib/globalize-versioning.rb
|
170
|
+
- lib/globalize/versioning.rb
|
171
|
+
- lib/globalize/versioning/paper_trail.rb
|
172
|
+
- lib/globalize/versioning/version.rb
|
146
173
|
homepage: http://github.com/globalize/globalize-versioning
|
147
174
|
licenses:
|
148
175
|
- MIT
|
@@ -153,17 +180,17 @@ require_paths:
|
|
153
180
|
- lib
|
154
181
|
required_ruby_version: !ruby/object:Gem::Requirement
|
155
182
|
requirements:
|
156
|
-
- -
|
183
|
+
- - ">="
|
157
184
|
- !ruby/object:Gem::Version
|
158
185
|
version: '0'
|
159
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
187
|
requirements:
|
161
|
-
- -
|
188
|
+
- - ">="
|
162
189
|
- !ruby/object:Gem::Version
|
163
|
-
version:
|
190
|
+
version: '0'
|
164
191
|
requirements: []
|
165
192
|
rubyforge_project: globalize-versioning
|
166
|
-
rubygems_version: 2.
|
193
|
+
rubygems_version: 2.4.5
|
167
194
|
signing_key:
|
168
195
|
specification_version: 4
|
169
196
|
summary: Adapter for using versioning gems with Globalize
|