editables 0.0.0 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.textile CHANGED
@@ -26,4 +26,9 @@ h1. Customization
26
26
  return false if params[:noedit].present?
27
27
  return true if current_admin
28
28
  false
29
- end
29
+ end
30
+
31
+ h1. New Release
32
+
33
+ * git commit -m "update"
34
+ * bundle exec rake version:bump:patch
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.3
@@ -61,11 +61,11 @@ module Editables
61
61
  form_id = "editable-image-#{name.gsub(" ","-")}"
62
62
  image = Editables::EditableImage.find_by_name(name)
63
63
  if image.present?
64
- if width > 1200
64
+ if width >= 1200
65
65
  src = image.image(:original)
66
- elsif width < 1200 && width > 600
66
+ elsif width < 1200 && width >= 600
67
67
  src = image.image(:large)
68
- elsif width < 600 && width > 300
68
+ elsif width < 600 && width >= 300
69
69
  src = image.image(:medium)
70
70
  else
71
71
  src = image.image(:small)
data/editables.gemspec CHANGED
@@ -5,16 +5,15 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "editables"
8
- s.version = "0.0.0"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Gabe Coyne"]
12
- s.date = "2013-01-12"
12
+ s.date = "2013-04-24"
13
13
  s.description = "Easy wysiwyg editing of website content and images"
14
14
  s.email = "gabe@killitcreative.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
- "README.rdoc",
18
17
  "README.textile"
19
18
  ]
20
19
  s.files = [
@@ -24,7 +23,6 @@ Gem::Specification.new do |s|
24
23
  "Gemfile.lock",
25
24
  "LICENSE.txt",
26
25
  "MIT-LICENSE",
27
- "README.rdoc",
28
26
  "README.textile",
29
27
  "Rakefile",
30
28
  "VERSION",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: editables
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-12 00:00:00.000000000 Z
12
+ date: 2013-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda
@@ -97,7 +97,6 @@ executables: []
97
97
  extensions: []
98
98
  extra_rdoc_files:
99
99
  - LICENSE.txt
100
- - README.rdoc
101
100
  - README.textile
102
101
  files:
103
102
  - .document
@@ -106,7 +105,6 @@ files:
106
105
  - Gemfile.lock
107
106
  - LICENSE.txt
108
107
  - MIT-LICENSE
109
- - README.rdoc
110
108
  - README.textile
111
109
  - Rakefile
112
110
  - VERSION
@@ -145,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
143
  version: '0'
146
144
  segments:
147
145
  - 0
148
- hash: -2752494682487666549
146
+ hash: 33874700775854115
149
147
  required_rubygems_version: !ruby/object:Gem::Requirement
150
148
  none: false
151
149
  requirements:
data/README.rdoc DELETED
@@ -1,19 +0,0 @@
1
- = editables
2
-
3
- Description goes here.
4
-
5
- == Contributing to editables
6
-
7
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
8
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
9
- * Fork the project.
10
- * Start a feature/bugfix branch.
11
- * Commit and push until you are happy with your contribution.
12
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2013 Gabe Coyne. See LICENSE.txt for
18
- further details.
19
-