on_the_spot 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 +15 -0
- data/Gemfile.lock +33 -2
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/lib/generators/on_the_spot/install/install_generator.rb +1 -0
- data/lib/on_the_spot.rb +3 -1
- data/on_the_spot.gemspec +9 -7
- data/spec/generators/install_generator_spec.rb +8 -0
- metadata +60 -86
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZGUyZDBhMDFiMmI0MGM5NTM3YzhmMjNjMWVjYjNlMTkyNmVlOTlkZQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YTdlNmY1YWMwNWJlMmE5OGJiODQ3OWY3ZDVhZmFkOTBiMDMzMGM1Ng==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ODgxYjQ1NzY2ZGU2ODdhN2NhMDg0MWFhZDllMjczZWViNjVmYjUyZWNmMmQ0
|
10
|
+
MTEyYmRjOTFiNWVlMmIzZGNjMWJkNTE2ZTAwNGEzYWNmY2M2MDkxZjdiNGE4
|
11
|
+
MWQzYjE2MWNkODE5MGY0MDdmM2ZkZWI3ZWFiOTY2YzAyMzc0YTU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MzY0MDRiMzg2M2EwZTUxN2ZiNzU5OGY5MjFjZWZiMGM1YzQzMzY3NjAzYTg5
|
14
|
+
ZGUyYWNjMWQzMTZhMjQ2OGFmNGM2ZWE5NWUzNGQ3MjIwY2Q2YTc5MWJmMTA1
|
15
|
+
OWNhZWIxNDcwODQ1YzdhMzQxZTI4YTM1MjYwNjJiOGJiOWFlODg=
|
data/Gemfile.lock
CHANGED
@@ -28,27 +28,58 @@ GEM
|
|
28
28
|
activemodel (= 3.0.9)
|
29
29
|
activesupport (= 3.0.9)
|
30
30
|
activesupport (3.0.9)
|
31
|
+
addressable (2.3.5)
|
31
32
|
arel (2.0.10)
|
32
33
|
builder (2.1.2)
|
33
34
|
diff-lcs (1.1.2)
|
34
35
|
erubis (2.6.6)
|
35
36
|
abstract (>= 1.0.0)
|
37
|
+
faraday (0.8.8)
|
38
|
+
multipart-post (~> 1.2.0)
|
36
39
|
generator_spec (0.8.3)
|
37
40
|
rails (~> 3.0)
|
38
41
|
rspec-rails
|
39
|
-
git (1.2.
|
42
|
+
git (1.2.6)
|
43
|
+
github_api (0.10.1)
|
44
|
+
addressable
|
45
|
+
faraday (~> 0.8.1)
|
46
|
+
hashie (>= 1.2)
|
47
|
+
multi_json (~> 1.4)
|
48
|
+
nokogiri (~> 1.5.2)
|
49
|
+
oauth2
|
50
|
+
hashie (2.0.5)
|
51
|
+
highline (1.6.20)
|
52
|
+
httpauth (0.2.0)
|
40
53
|
i18n (0.5.0)
|
41
|
-
jeweler (1.
|
54
|
+
jeweler (1.8.8)
|
55
|
+
builder
|
42
56
|
bundler (~> 1.0)
|
43
57
|
git (>= 1.2.5)
|
58
|
+
github_api (= 0.10.1)
|
59
|
+
highline (>= 1.6.15)
|
60
|
+
nokogiri (= 1.5.10)
|
44
61
|
rake
|
62
|
+
rdoc
|
45
63
|
json_pure (1.5.3)
|
64
|
+
jwt (0.1.8)
|
65
|
+
multi_json (>= 1.5)
|
46
66
|
mail (2.2.19)
|
47
67
|
activesupport (>= 2.3.6)
|
48
68
|
i18n (>= 0.4.0)
|
49
69
|
mime-types (~> 1.16)
|
50
70
|
treetop (~> 1.4.8)
|
51
71
|
mime-types (1.16)
|
72
|
+
multi_json (1.8.2)
|
73
|
+
multi_xml (0.5.5)
|
74
|
+
multipart-post (1.2.0)
|
75
|
+
nokogiri (1.5.10)
|
76
|
+
oauth2 (0.9.2)
|
77
|
+
faraday (~> 0.8)
|
78
|
+
httpauth (~> 0.2)
|
79
|
+
jwt (~> 0.1.4)
|
80
|
+
multi_json (~> 1.0)
|
81
|
+
multi_xml (~> 0.5)
|
82
|
+
rack (~> 1.2)
|
52
83
|
polyglot (0.3.1)
|
53
84
|
rack (1.2.3)
|
54
85
|
rack-mount (0.6.14)
|
data/Rakefile
CHANGED
@@ -11,9 +11,10 @@ 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
|
14
|
+
gem.add_development_dependency "rspec", ">= 2.6.0"
|
15
15
|
gem.add_development_dependency "actionpack", ">= 3.0.0"
|
16
16
|
gem.add_dependency "json_pure", ">= 1.4.6"
|
17
|
+
gem.licenses = ["MIT"]
|
17
18
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
18
19
|
end
|
19
20
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
@@ -16,6 +16,7 @@ module OnTheSpot
|
|
16
16
|
copy_file "../../../../../app/assets/javascripts/on_the_spot_code.js", "public/javascripts/on_the_spot.js"
|
17
17
|
copy_file "../../../../../app/assets/javascripts/jquery.jeditable.mini.js", "public/javascripts/jquery.jeditable.mini.js"
|
18
18
|
copy_file "../../../../../app/assets/javascripts/jquery.jeditable.checkbox.js", "public/javascripts/jquery.jeditable.checkbox.js"
|
19
|
+
copy_file "../../../../../app/assets/css/on_the_spot.css", "public/stylesheets/on_the_spot.css"
|
19
20
|
end
|
20
21
|
end
|
21
22
|
|
data/lib/on_the_spot.rb
CHANGED
@@ -5,7 +5,9 @@ module OnTheSpot
|
|
5
5
|
class Engine < ::Rails::Engine
|
6
6
|
|
7
7
|
config.before_initialize do
|
8
|
-
config.action_view.javascript_expansions
|
8
|
+
if config.action_view.javascript_expansions
|
9
|
+
config.action_view.javascript_expansions[:on_the_spot] = %w(jquery.jeditable.mini.js on_the_spot_code)
|
10
|
+
end
|
9
11
|
end
|
10
12
|
|
11
13
|
# configure our plugin on boot. other extension points such
|
data/on_the_spot.gemspec
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: on_the_spot 1.0.2 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "on_the_spot"
|
8
|
-
s.version = "1.0.
|
9
|
+
s.version = "1.0.2"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
12
|
s.authors = ["Nathan Van der Auwera"]
|
12
|
-
s.date = "
|
13
|
+
s.date = "2013-12-04"
|
13
14
|
s.description = "Unobtrusive in place editing, using jEditable; only works in Rails 3"
|
14
15
|
s.email = "nathan@dixis.com"
|
15
16
|
s.extra_rdoc_files = [
|
@@ -80,24 +81,25 @@ Gem::Specification.new do |s|
|
|
80
81
|
"spec/spec_helper.rb"
|
81
82
|
]
|
82
83
|
s.homepage = "http://github.com/nathanvda/on_the_spot"
|
84
|
+
s.licenses = ["MIT"]
|
83
85
|
s.require_paths = ["lib"]
|
84
|
-
s.rubygems_version = "1.
|
86
|
+
s.rubygems_version = "2.1.11"
|
85
87
|
s.summary = "unobtrusive in place editing"
|
86
88
|
|
87
89
|
if s.respond_to? :specification_version then
|
88
|
-
s.specification_version =
|
90
|
+
s.specification_version = 4
|
89
91
|
|
90
92
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
91
|
-
s.add_development_dependency(%q<rspec>, [">= 2.0
|
93
|
+
s.add_development_dependency(%q<rspec>, [">= 2.6.0"])
|
92
94
|
s.add_development_dependency(%q<actionpack>, [">= 3.0.0"])
|
93
95
|
s.add_runtime_dependency(%q<json_pure>, [">= 1.4.6"])
|
94
96
|
else
|
95
|
-
s.add_dependency(%q<rspec>, [">= 2.0
|
97
|
+
s.add_dependency(%q<rspec>, [">= 2.6.0"])
|
96
98
|
s.add_dependency(%q<actionpack>, [">= 3.0.0"])
|
97
99
|
s.add_dependency(%q<json_pure>, [">= 1.4.6"])
|
98
100
|
end
|
99
101
|
else
|
100
|
-
s.add_dependency(%q<rspec>, [">= 2.0
|
102
|
+
s.add_dependency(%q<rspec>, [">= 2.6.0"])
|
101
103
|
s.add_dependency(%q<actionpack>, [">= 3.0.0"])
|
102
104
|
s.add_dependency(%q<json_pure>, [">= 1.4.6"])
|
103
105
|
end
|
@@ -34,6 +34,10 @@ describe OnTheSpot::Generators::InstallGenerator do
|
|
34
34
|
assert_file "public/javascripts/#{js_file}"
|
35
35
|
end
|
36
36
|
end
|
37
|
+
|
38
|
+
it "copies on_the_spot.css to the correct folder" do
|
39
|
+
assert_file "public/stylesheets/on_the_spot.css"
|
40
|
+
end
|
37
41
|
end
|
38
42
|
end
|
39
43
|
|
@@ -50,6 +54,10 @@ describe OnTheSpot::Generators::InstallGenerator do
|
|
50
54
|
assert_no_file "public/javascripts/#{js_file}"
|
51
55
|
end
|
52
56
|
end
|
57
|
+
|
58
|
+
it "does not copy on_the_spot.css" do
|
59
|
+
assert_no_file "public/stylesheets/on_the_spot.css"
|
60
|
+
end
|
53
61
|
end
|
54
62
|
end
|
55
63
|
|
metadata
CHANGED
@@ -1,81 +1,65 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: on_the_spot
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 1.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.2
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Nathan Van der Auwera
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
22
|
-
none: false
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
hash: 28106001
|
27
|
-
segments:
|
28
|
-
- 2
|
29
|
-
- 0
|
30
|
-
- 0
|
31
|
-
- rc
|
32
|
-
version: 2.0.0rc
|
33
|
-
version_requirements: *id001
|
11
|
+
date: 2013-12-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
34
14
|
name: rspec
|
35
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.6.0
|
36
20
|
type: :development
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
hash: 7
|
44
|
-
segments:
|
45
|
-
- 3
|
46
|
-
- 0
|
47
|
-
- 0
|
48
|
-
version: 3.0.0
|
49
|
-
version_requirements: *id002
|
50
|
-
name: actionpack
|
51
21
|
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.6.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: actionpack
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.0.0
|
52
34
|
type: :development
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
-
none: false
|
56
|
-
requirements:
|
57
|
-
- - ">="
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
hash: 11
|
60
|
-
segments:
|
61
|
-
- 1
|
62
|
-
- 4
|
63
|
-
- 6
|
64
|
-
version: 1.4.6
|
65
|
-
version_requirements: *id003
|
66
|
-
name: json_pure
|
67
35
|
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: json_pure
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.4.6
|
68
48
|
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.4.6
|
69
55
|
description: Unobtrusive in place editing, using jEditable; only works in Rails 3
|
70
56
|
email: nathan@dixis.com
|
71
57
|
executables: []
|
72
|
-
|
73
58
|
extensions: []
|
74
|
-
|
75
|
-
extra_rdoc_files:
|
59
|
+
extra_rdoc_files:
|
76
60
|
- LICENSE
|
77
61
|
- README.markdown
|
78
|
-
files:
|
62
|
+
files:
|
79
63
|
- .bundle/config
|
80
64
|
- .document
|
81
65
|
- .rspec
|
@@ -138,37 +122,27 @@ files:
|
|
138
122
|
- spec/on_the_spot_spec.rb
|
139
123
|
- spec/spec_helper.rb
|
140
124
|
homepage: http://github.com/nathanvda/on_the_spot
|
141
|
-
licenses:
|
142
|
-
|
125
|
+
licenses:
|
126
|
+
- MIT
|
127
|
+
metadata: {}
|
143
128
|
post_install_message:
|
144
129
|
rdoc_options: []
|
145
|
-
|
146
|
-
require_paths:
|
130
|
+
require_paths:
|
147
131
|
- lib
|
148
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
none: false
|
159
|
-
requirements:
|
160
|
-
- - ">="
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
hash: 3
|
163
|
-
segments:
|
164
|
-
- 0
|
165
|
-
version: "0"
|
132
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ! '>='
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
166
142
|
requirements: []
|
167
|
-
|
168
143
|
rubyforge_project:
|
169
|
-
rubygems_version: 1.
|
144
|
+
rubygems_version: 2.1.11
|
170
145
|
signing_key:
|
171
|
-
specification_version:
|
146
|
+
specification_version: 4
|
172
147
|
summary: unobtrusive in place editing
|
173
148
|
test_files: []
|
174
|
-
|