tb_permalinks 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OThhNzMzMDVhYTg4MDEyNzcyZTQyMjQ5N2E3ZDNkM2U2ODdjZTQzMA==
5
- data.tar.gz: !binary |-
6
- OGNiZjUwNmVjZjVhZDliYjU3NGJhYjliODRhZmUwZGQ5ZDNlMmQ0Yw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- YjY1MjU4ZTE3ZDE0M2VlMGJmMjE4ODNkNTUxOWYzZjZmMmMzZmE5MTRlM2Fh
10
- MjFlYjYxN2E3ZDQ4ZTVlZjE5MGM0Yzk5YTliMzk2MjBkNjRlOTg1ZjkzODAz
11
- YjRlZTk5M2FkMWZjZGNhOWYyODA0ZjA0Y2I1NDMyMjFhOTRmNGM=
12
- data.tar.gz: !binary |-
13
- ZTI1ODM1MDhhN2IwZTc5ODRhNWMyYjJkNmYzNTAyY2E5MmNkZGFiOTE2ZDlk
14
- YjFiMjIzMjBlZDVkNzcwMWViOWM3MTUyNjc5YWU3YTVmMTM2ZGU2Y2Q4MzY1
15
- ZmE3M2Q4ODA5MjdhNTE4ZGQ2NWNiM2MwOTY1YWFjZjZkMWQ0Njc=
2
+ SHA1:
3
+ metadata.gz: 2a77644941231c5ecc11110b83537d680a1b2598
4
+ data.tar.gz: 018623f0804792a4efbc875d774e7b0889db9c33
5
+ SHA512:
6
+ metadata.gz: 45fed5495ebb34d28a0f74701f36a4d798c9eea44b590325f5fab1eff2475131ab5cf835ebc233fcd2e035b100bf6bc7643ef6328ca44f952bd3b90c4f6373ac
7
+ data.tar.gz: b7e33408ef424b30bf31c40de3662856340668989e32f1ab012db4ec1b6d4427b5743cec1fe334ea25771c7dd6d707216f7695c167091fd7ebefb51d3bc2be20
@@ -1,11 +1,9 @@
1
1
  class SpudPermalink < ActiveRecord::Base
2
- belongs_to :attachment,:polymorphic => true
2
+ belongs_to :attachment, :polymorphic => true
3
3
  validates :url_name, :presence => true
4
4
  validates_uniqueness_of :url_name, :scope => :site_id
5
5
  validates :attachment_type, :presence => true
6
6
  validates :attachment_id, :presence => true
7
7
 
8
8
  scope :site, lambda {|sid| where(:site_id => sid)}
9
-
10
- attr_accessible :url_name,:attachment_type,:attachment_id,:site_id
11
9
  end
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Permalinks
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tb_permalinks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Woods
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-19 00:00:00.000000000 Z
11
+ date: 2014-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.2
19
+ version: '4.0'
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.2
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mysql2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.3.11
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.3.11
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -70,14 +70,14 @@ dependencies:
70
70
  name: shoulda
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: 3.0.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 3.0.1
83
83
  - !ruby/object:Gem::Dependency
@@ -114,26 +114,26 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 0.7.1
117
+ version: 1.0.0.RC1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 0.7.1
124
+ version: 1.0.0.RC1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: simplecov
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: 0.6.4
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 0.6.4
139
139
  description: This gem creates a polymorphic attachable model that can be used to store
@@ -144,6 +144,9 @@ executables: []
144
144
  extensions: []
145
145
  extra_rdoc_files: []
146
146
  files:
147
+ - MIT-LICENSE
148
+ - README.md
149
+ - Rakefile
147
150
  - app/models/spud_permalink.rb
148
151
  - db/migrate/20120306195503_create_spud_permalinks.rb
149
152
  - db/migrate/20120329135522_add_site_id_to_spud_permalinks.rb
@@ -151,9 +154,6 @@ files:
151
154
  - lib/spud_permalinks/engine.rb
152
155
  - lib/spud_permalinks/version.rb
153
156
  - lib/tb_permalinks.rb
154
- - MIT-LICENSE
155
- - Rakefile
156
- - README.md
157
157
  homepage: http://bitbucket.org/westlakedesign/tb_permalinks
158
158
  licenses: []
159
159
  metadata: {}
@@ -163,17 +163,17 @@ require_paths:
163
163
  - lib
164
164
  required_ruby_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
- - - ! '>='
166
+ - - ">="
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ! '>='
171
+ - - ">="
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  requirements: []
175
175
  rubyforge_project:
176
- rubygems_version: 2.0.3
176
+ rubygems_version: 2.2.1
177
177
  signing_key:
178
178
  specification_version: 4
179
179
  summary: Twice Baked Permalinks