enju_core 0.1.1.pre4 → 0.1.1.pre5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 539590aecc7296a28f9200d250d91d35d619d847
4
- data.tar.gz: 713424eb94304b3b6906d9b44388df0411fb9523
3
+ metadata.gz: fb9aab9f73125b6b894986a68a44718519ee2d18
4
+ data.tar.gz: b31c77961142b4aa886284c83d7ba795604d780b
5
5
  SHA512:
6
- metadata.gz: 3ee14a7c340a07cbb87b84b939c4dcf0e1d6d1b76f7360169b378fec06e7981cc2b0b60288d79db61fc2957d14f8cf3b55b83762c6af57d1db560ccc4340cd6a
7
- data.tar.gz: 1fa547f93b3753682deeb9ba0ae0cdf40622b0ca1cb3dfe969298533fe8bcf0527ffd85382a16a629f1c0db26d1f851bd9bc89b12010b0d15e19966136bafc37
6
+ metadata.gz: f0803fcfb1a88abc208a1bc0993f0140f2c4180c805b596b5b6bb0a52c6a2496d0117a32e7988a16b689292370b6066c4972aee0786bbcc776eb30e4a0cc0e91
7
+ data.tar.gz: 7ee7364ed1207a07d60cc39c33e72e323cd8cb5ff4816a4740201eb155c5393ee4803258a88f60357fd807c6a23777960f7ad0eff87bc0fb0ae3b41cf4c8637e
@@ -6,7 +6,7 @@ module MasterModel
6
6
  acts_as_list
7
7
  validates_uniqueness_of :name, :case_sensitive => false,
8
8
  :message => I18n.t('Only lowercase letters and numbers are allowed.')
9
- validates :name, :presence => true
9
+ validates :name, :presence => true, :format => {:with => /\A[0-9a-z][0-9a-z_\-]*[0-9a-z]\Z/}
10
10
  validates :display_name, :presence => true
11
11
  before_validation :set_display_name, :on => :create
12
12
  normalize_attributes :name
@@ -1,3 +1,3 @@
1
1
  module EnjuCore
2
- VERSION = "0.1.1.pre4"
2
+ VERSION = "0.1.1.pre5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.pre4
4
+ version: 0.1.1.pre5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-18 00:00:00.000000000 Z
11
+ date: 2013-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '3.2'
19
+ version: 3.2.15
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '3.2'
26
+ version: 3.2.15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: friendly_id
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: devise
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '3.1'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '3.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: cancan
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: acts_as_list
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '0.3'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '0.3'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: attribute_normalizer
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - ~>
130
130
  - !ruby/object:Gem::Version
131
- version: 2.0.0
131
+ version: '2.1'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ~>
137
137
  - !ruby/object:Gem::Version
138
- version: 2.0.0
138
+ version: '2.1'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: resque
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -278,7 +278,6 @@ files:
278
278
  - spec/dummy/config/locales/en.yml
279
279
  - spec/dummy/config/routes.rb
280
280
  - spec/dummy/config.ru
281
- - spec/dummy/db/development.sqlite3
282
281
  - spec/dummy/public/404.html
283
282
  - spec/dummy/public/422.html
284
283
  - spec/dummy/public/500.html
@@ -306,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
306
305
  version: 1.3.1
307
306
  requirements: []
308
307
  rubyforge_project:
309
- rubygems_version: 2.0.0
308
+ rubygems_version: 2.1.4
310
309
  signing_key:
311
310
  specification_version: 4
312
311
  summary: enju_core plugin
@@ -332,7 +331,6 @@ test_files:
332
331
  - spec/dummy/config/locales/en.yml
333
332
  - spec/dummy/config/routes.rb
334
333
  - spec/dummy/config.ru
335
- - spec/dummy/db/development.sqlite3
336
334
  - spec/dummy/public/404.html
337
335
  - spec/dummy/public/422.html
338
336
  - spec/dummy/public/500.html
File without changes