on_the_spot 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. data/README.markdown +7 -8
  2. data/Rakefile +3 -1
  3. data/VERSION +1 -1
  4. data/on_the_spot.gemspec +11 -5
  5. metadata +35 -6
data/README.markdown CHANGED
@@ -1,7 +1,6 @@
1
1
  # on_the_spot
2
2
 
3
3
  On-the-spot is a Rails3 compliant unobtrusive javascript in-place-editing plugin, using jEditable.
4
- This is still in progress, but should already be usable for simple text-fields and text-areas.
5
4
 
6
5
  ## Installation
7
6
 
@@ -58,13 +57,13 @@ It should be as simple as that :)
58
57
 
59
58
  The `on_the_spot_edit` also accepts options:
60
59
 
61
- * `type` : `textarea` or `select` (none means default edit)
62
- * `ok_text` : the text for the ok-button
63
- * `cancel_text` : the text for the cancel-button
64
- * `tooltip` : the tooltip-text
65
- * `rows`: for textarea, the number of rows, defaults to 5
66
- * `columns`: for textarea, the number of columns, defaults to 40
67
- * `data`: for select, the lookup-data, should be in an array of id-value pairs. E.g. `[[1, 'ok'], [2, 'not ok'], [3, 'not decided']].
60
+ * `:type` : `:textarea` or `:select` (none means default edit)
61
+ * `:ok_text` : the text for the ok-button
62
+ * `:cancel_text` : the text for the cancel-button
63
+ * `:tooltip` : the tooltip-text
64
+ * `:rows`: for textarea, the number of rows, defaults to 5
65
+ * `:columns`: for textarea, the number of columns, defaults to 40
66
+ * `:data`: for select, the lookup-data, should be in an array of id-value pairs. E.g. `[[1, 'ok'], [2, 'not ok'], [3, 'not decided']]`.
68
67
 
69
68
 
70
69
  For the texts: if a text is not specified, the default is taken from the `on_the_spot.en.yml` (or your current language).
data/Rakefile CHANGED
@@ -11,7 +11,9 @@ begin
11
11
  gem.email = "nathan@dixis.com"
12
12
  gem.homepage = "http://github.com/nathanvda/on_the_spot"
13
13
  gem.authors = ["Nathan Van der Auwera"]
14
- gem.add_development_dependency "rspec", ">= 2.0.0.beta20"
14
+ gem.add_development_dependency "rspec", ">= 2.0.0rc"
15
+ gem.add_development_dependency "actionpack", ">= 3.0.0"
16
+ gem.add_dependency "json_pure", ">= 1.4.6"
15
17
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
18
  end
17
19
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/on_the_spot.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{on_the_spot}
8
- s.version = "0.0.2"
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 = ["Nathan Van der Auwera"]
12
- s.date = %q{2010-10-06}
12
+ s.date = %q{2010-10-07}
13
13
  s.description = %q{Unobtrusive in place editing, using jEditable; only works in Rails 3}
14
14
  s.email = %q{nathan@dixis.com}
15
15
  s.extra_rdoc_files = [
@@ -54,12 +54,18 @@ Gem::Specification.new do |s|
54
54
  s.specification_version = 3
55
55
 
56
56
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
57
- s.add_development_dependency(%q<rspec>, [">= 2.0.0.beta20"])
57
+ s.add_development_dependency(%q<rspec>, [">= 2.0.0rc"])
58
+ s.add_development_dependency(%q<actionpack>, [">= 3.0.0"])
59
+ s.add_runtime_dependency(%q<json_pure>, [">= 1.4.6"])
58
60
  else
59
- s.add_dependency(%q<rspec>, [">= 2.0.0.beta20"])
61
+ s.add_dependency(%q<rspec>, [">= 2.0.0rc"])
62
+ s.add_dependency(%q<actionpack>, [">= 3.0.0"])
63
+ s.add_dependency(%q<json_pure>, [">= 1.4.6"])
60
64
  end
61
65
  else
62
- s.add_dependency(%q<rspec>, [">= 2.0.0.beta20"])
66
+ s.add_dependency(%q<rspec>, [">= 2.0.0rc"])
67
+ s.add_dependency(%q<actionpack>, [">= 3.0.0"])
68
+ s.add_dependency(%q<json_pure>, [">= 1.4.6"])
63
69
  end
64
70
  end
65
71
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nathan Van der Auwera
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-06 00:00:00 +02:00
17
+ date: 2010-10-07 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -28,11 +28,40 @@ dependencies:
28
28
  segments:
29
29
  - 2
30
30
  - 0
31
- - 0
32
- - beta20
33
- version: 2.0.0.beta20
31
+ - 0rc
32
+ version: 2.0.0rc
34
33
  type: :development
35
34
  version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: actionpack
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ segments:
44
+ - 3
45
+ - 0
46
+ - 0
47
+ version: 3.0.0
48
+ type: :development
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: json_pure
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ segments:
59
+ - 1
60
+ - 4
61
+ - 6
62
+ version: 1.4.6
63
+ type: :runtime
64
+ version_requirements: *id003
36
65
  description: Unobtrusive in place editing, using jEditable; only works in Rails 3
37
66
  email: nathan@dixis.com
38
67
  executables: []