cocoon 1.2.3 → 1.2.4
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.
- checksums.yaml +8 -8
- data/.travis.yml +1 -1
- data/Gemfile +9 -1
- data/README.markdown +10 -2
- data/VERSION +1 -1
- data/app/assets/javascripts/cocoon.js +10 -4
- data/cocoon.gemspec +18 -5
- data/gemfiles/Gemfile.rails-3.2.13 +9 -1
- data/lib/cocoon/view_helpers.rb +4 -0
- data/spec/cocoon_spec.rb +18 -0
- metadata +72 -4
- data/Gemfile.lock +0 -152
- data/gemfiles/Gemfile.rails-3.2.13.lock +0 -154
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDY2N2FkYTVhMTJiNzk3ODRjZDU3NzYyNjUzNjI0NmMxYmQ0ZGI2Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjJkNDgyNWUyZDIyNDM1MjNjNDRmNTE0OTIzY2M0ZWUwNzIwZWJkNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDg1MzQ3Y2YzMmRjNjYzZTYzMTY1NzIxNjFkYzM4YTE2YmU1ZjFhMGU1MjE0
|
10
|
+
N2MxYTU0ZWZlNTQ5MjYyZDM5MmM4ZmM4ZTNlNDU0MWFjNDBmYzUzMWRlODU4
|
11
|
+
YzhhMTY4ZGQxZmNmOGM2NDNhYTM5OWY3MDBkNTIxMDNmNzUwNmI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGI4NGU0MTQ2M2ZlZTMyYjk3MGNmZGI4NGQ3OWY5MDM4OGI3MTFlMWI0Mjgx
|
14
|
+
YzRkMTM0ZWU1MmIyMDYyNDA5YTIzOGQzMmFkNGU2ZGEwNThjOWQ1NzQ0NmQ4
|
15
|
+
YjlhNjAyMjY5MzU5NzJhNDAwZTIxNTFkOTA1OTEwYjBmYTBlZjE=
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -16,6 +16,14 @@ group :development, :test do
|
|
16
16
|
gem "generator_spec"
|
17
17
|
end
|
18
18
|
|
19
|
+
platforms :rbx do
|
20
|
+
gem 'rubysl'
|
21
|
+
gem 'rubysl-test-unit'
|
22
|
+
gem 'psych'
|
23
|
+
gem 'racc'
|
24
|
+
gem 'rubinius-developer_tools'
|
25
|
+
end
|
26
|
+
|
19
27
|
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
|
20
28
|
# gem 'ruby-debug'
|
21
|
-
# gem 'ruby-debug19'
|
29
|
+
# gem 'ruby-debug19'
|
data/README.markdown
CHANGED
@@ -332,6 +332,14 @@ It takes three parameters:
|
|
332
332
|
|
333
333
|
Optionally you could also leave out the name and supply a block that is captured to give the name (if you want to do something more complicated).
|
334
334
|
|
335
|
+
Optionally, you can add an html option called `wrapper_class` to use a different wrapper div instead of `.nested-class`.
|
336
|
+
The class should be added without a preceding dot (`.`).
|
337
|
+
|
338
|
+
Example:
|
339
|
+
```haml
|
340
|
+
= link_to_remove_association('remove this', @form_obj,
|
341
|
+
{ wrapper_class: 'my-wrapper-class' })
|
342
|
+
```
|
335
343
|
|
336
344
|
### Callbacks (upon insert and remove of items)
|
337
345
|
|
@@ -412,7 +420,7 @@ This is accomplished by the following line:
|
|
412
420
|
$(this).data('remove-timeout', 1000);
|
413
421
|
```
|
414
422
|
|
415
|
-
You could also immediately add this to your view
|
423
|
+
You could also immediately add this to your view, on the `.nested-fields` container (or the `wrapper_class` element you are using).
|
416
424
|
|
417
425
|
### Control the Insertion Behaviour
|
418
426
|
|
@@ -450,7 +458,7 @@ $(document).ready(function() {
|
|
450
458
|
If no explicit partial name is given, `cocoon` looks for a file named `_<association-object_singular>_fields`.
|
451
459
|
To override the default partial use the `:partial` option.
|
452
460
|
|
453
|
-
For the JavaScript to behave correctly, the partial should start with a container (e.g. `div`) of class `.nested-fields
|
461
|
+
For the JavaScript to behave correctly, the partial should start with a container (e.g. `div`) of class `.nested-fields`, or a class of your choice which you can define in the `link_to_remove_association` method.
|
454
462
|
|
455
463
|
There is no limit to the amount of nesting, though.
|
456
464
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.4
|
@@ -77,9 +77,10 @@
|
|
77
77
|
});
|
78
78
|
|
79
79
|
$(document).on('click', '.remove_fields.dynamic, .remove_fields.existing', function(e) {
|
80
|
-
var $this = $(this)
|
81
|
-
|
82
|
-
|
80
|
+
var $this = $(this),
|
81
|
+
wrapper_class = $this.data('wrapper-class') || 'nested-fields',
|
82
|
+
node_to_delete = $this.closest('.' + wrapper_class),
|
83
|
+
trigger_node = node_to_delete.parent();
|
83
84
|
|
84
85
|
e.preventDefault();
|
85
86
|
|
@@ -98,6 +99,11 @@
|
|
98
99
|
}, timeout);
|
99
100
|
});
|
100
101
|
|
101
|
-
$('.remove_fields.existing.destroyed').
|
102
|
+
$('.remove_fields.existing.destroyed').each(function(i, obj) {
|
103
|
+
var $this = $(this),
|
104
|
+
wrapper_class = $this.data('wrapper-class') || 'nested-fields';
|
105
|
+
|
106
|
+
$this.closest('.' + wrapper_class).hide();
|
107
|
+
});
|
102
108
|
|
103
109
|
})(jQuery);
|
data/cocoon.gemspec
CHANGED
@@ -2,15 +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: cocoon 1.2.
|
5
|
+
# stub: cocoon 1.2.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "cocoon"
|
9
|
-
s.version = "1.2.
|
9
|
+
s.version = "1.2.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Nathan Van der Auwera"]
|
13
|
-
s.date = "2013-
|
13
|
+
s.date = "2013-12-05"
|
14
14
|
s.description = "Unobtrusive nested forms handling, using jQuery. Use this and discover cocoon-heaven."
|
15
15
|
s.email = "nathan@dixis.com"
|
16
16
|
s.extra_rdoc_files = [
|
@@ -19,7 +19,6 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.files = [
|
20
20
|
".travis.yml",
|
21
21
|
"Gemfile",
|
22
|
-
"Gemfile.lock",
|
23
22
|
"History.md",
|
24
23
|
"MIT-LICENSE",
|
25
24
|
"README.markdown",
|
@@ -28,7 +27,6 @@ Gem::Specification.new do |s|
|
|
28
27
|
"app/assets/javascripts/cocoon.js",
|
29
28
|
"cocoon.gemspec",
|
30
29
|
"gemfiles/Gemfile.rails-3.2.13",
|
31
|
-
"gemfiles/Gemfile.rails-3.2.13.lock",
|
32
30
|
"lib/cocoon.rb",
|
33
31
|
"lib/cocoon/view_helpers.rb",
|
34
32
|
"lib/generators/cocoon/install/install_generator.rb",
|
@@ -89,6 +87,11 @@ Gem::Specification.new do |s|
|
|
89
87
|
s.specification_version = 4
|
90
88
|
|
91
89
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
90
|
+
s.add_runtime_dependency(%q<rubysl>, [">= 0"])
|
91
|
+
s.add_runtime_dependency(%q<rubysl-test-unit>, [">= 0"])
|
92
|
+
s.add_runtime_dependency(%q<psych>, [">= 0"])
|
93
|
+
s.add_runtime_dependency(%q<racc>, [">= 0"])
|
94
|
+
s.add_runtime_dependency(%q<rubinius-developer_tools>, [">= 0"])
|
92
95
|
s.add_development_dependency(%q<rails>, [">= 4.0.0"])
|
93
96
|
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
94
97
|
s.add_development_dependency(%q<json_pure>, [">= 0"])
|
@@ -101,6 +104,11 @@ Gem::Specification.new do |s|
|
|
101
104
|
s.add_development_dependency(%q<generator_spec>, [">= 0"])
|
102
105
|
s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
|
103
106
|
else
|
107
|
+
s.add_dependency(%q<rubysl>, [">= 0"])
|
108
|
+
s.add_dependency(%q<rubysl-test-unit>, [">= 0"])
|
109
|
+
s.add_dependency(%q<psych>, [">= 0"])
|
110
|
+
s.add_dependency(%q<racc>, [">= 0"])
|
111
|
+
s.add_dependency(%q<rubinius-developer_tools>, [">= 0"])
|
104
112
|
s.add_dependency(%q<rails>, [">= 4.0.0"])
|
105
113
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
106
114
|
s.add_dependency(%q<json_pure>, [">= 0"])
|
@@ -114,6 +122,11 @@ Gem::Specification.new do |s|
|
|
114
122
|
s.add_dependency(%q<rspec>, [">= 2.0.0"])
|
115
123
|
end
|
116
124
|
else
|
125
|
+
s.add_dependency(%q<rubysl>, [">= 0"])
|
126
|
+
s.add_dependency(%q<rubysl-test-unit>, [">= 0"])
|
127
|
+
s.add_dependency(%q<psych>, [">= 0"])
|
128
|
+
s.add_dependency(%q<racc>, [">= 0"])
|
129
|
+
s.add_dependency(%q<rubinius-developer_tools>, [">= 0"])
|
117
130
|
s.add_dependency(%q<rails>, [">= 4.0.0"])
|
118
131
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
119
132
|
s.add_dependency(%q<json_pure>, [">= 0"])
|
@@ -16,6 +16,14 @@ group :development, :test do
|
|
16
16
|
gem "generator_spec"
|
17
17
|
end
|
18
18
|
|
19
|
+
platforms :rbx do
|
20
|
+
gem 'rubysl'
|
21
|
+
gem 'rubysl-test-unit'
|
22
|
+
gem 'psych'
|
23
|
+
gem 'racc'
|
24
|
+
gem 'rubinius-developer_tools'
|
25
|
+
end
|
26
|
+
|
19
27
|
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
|
20
28
|
# gem 'ruby-debug'
|
21
|
-
# gem 'ruby-debug19'
|
29
|
+
# gem 'ruby-debug19'
|
data/lib/cocoon/view_helpers.rb
CHANGED
@@ -31,6 +31,10 @@ module Cocoon
|
|
31
31
|
classes << (is_dynamic ? 'dynamic' : 'existing')
|
32
32
|
classes << 'destroyed' if f.object.marked_for_destruction?
|
33
33
|
html_options[:class] = [html_options[:class], classes.join(' ')].compact.join(' ')
|
34
|
+
|
35
|
+
wrapper_class = html_options.delete(:wrapper_class)
|
36
|
+
html_options[:'data-wrapper-class'] = wrapper_class if wrapper_class.present?
|
37
|
+
|
34
38
|
hidden_field_tag("#{f.object_name}[_destroy]", f.object._destroy) + link_to(name, '#', html_options)
|
35
39
|
end
|
36
40
|
end
|
data/spec/cocoon_spec.rb
CHANGED
@@ -314,6 +314,24 @@ describe Cocoon do
|
|
314
314
|
it_behaves_like "a correctly rendered remove link", {text: 'remove some long name', class: 'add_some_class remove_fields dynamic', extra_attributes: {'data-something' => 'bla'}}
|
315
315
|
end
|
316
316
|
end
|
317
|
+
|
318
|
+
context 'when changing the wrapper class' do
|
319
|
+
context 'should use the default nested-fields class' do
|
320
|
+
before do
|
321
|
+
@html = @tester.link_to_remove_association('remove something', @form_obj)
|
322
|
+
end
|
323
|
+
|
324
|
+
it_behaves_like "a correctly rendered remove link", { }
|
325
|
+
end
|
326
|
+
|
327
|
+
context 'should use the given wrapper class' do
|
328
|
+
before do
|
329
|
+
@html = @tester.link_to_remove_association('remove something', @form_obj, { wrapper_class: 'another-class' })
|
330
|
+
end
|
331
|
+
|
332
|
+
it_behaves_like "a correctly rendered remove link", { extra_attributes: { 'data-wrapper-class' => 'another-class' } }
|
333
|
+
end
|
334
|
+
end
|
317
335
|
end
|
318
336
|
|
319
337
|
context "create_object" do
|
metadata
CHANGED
@@ -1,15 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Van der Auwera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rubysl
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubysl-test-unit
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: psych
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: racc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubinius-developer_tools
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
13
83
|
- !ruby/object:Gem::Dependency
|
14
84
|
name: rails
|
15
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -174,7 +244,6 @@ extra_rdoc_files:
|
|
174
244
|
files:
|
175
245
|
- .travis.yml
|
176
246
|
- Gemfile
|
177
|
-
- Gemfile.lock
|
178
247
|
- History.md
|
179
248
|
- MIT-LICENSE
|
180
249
|
- README.markdown
|
@@ -183,7 +252,6 @@ files:
|
|
183
252
|
- app/assets/javascripts/cocoon.js
|
184
253
|
- cocoon.gemspec
|
185
254
|
- gemfiles/Gemfile.rails-3.2.13
|
186
|
-
- gemfiles/Gemfile.rails-3.2.13.lock
|
187
255
|
- lib/cocoon.rb
|
188
256
|
- lib/cocoon/view_helpers.rb
|
189
257
|
- lib/generators/cocoon/install/install_generator.rb
|
data/Gemfile.lock
DELETED
@@ -1,152 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (4.0.0)
|
5
|
-
actionpack (= 4.0.0)
|
6
|
-
mail (~> 2.5.3)
|
7
|
-
actionpack (4.0.0)
|
8
|
-
activesupport (= 4.0.0)
|
9
|
-
builder (~> 3.1.0)
|
10
|
-
erubis (~> 2.7.0)
|
11
|
-
rack (~> 1.5.2)
|
12
|
-
rack-test (~> 0.6.2)
|
13
|
-
activemodel (4.0.0)
|
14
|
-
activesupport (= 4.0.0)
|
15
|
-
builder (~> 3.1.0)
|
16
|
-
activerecord (4.0.0)
|
17
|
-
activemodel (= 4.0.0)
|
18
|
-
activerecord-deprecated_finders (~> 1.0.2)
|
19
|
-
activesupport (= 4.0.0)
|
20
|
-
arel (~> 4.0.0)
|
21
|
-
activerecord-deprecated_finders (1.0.3)
|
22
|
-
activesupport (4.0.0)
|
23
|
-
i18n (~> 0.6, >= 0.6.4)
|
24
|
-
minitest (~> 4.2)
|
25
|
-
multi_json (~> 1.3)
|
26
|
-
thread_safe (~> 0.1)
|
27
|
-
tzinfo (~> 0.3.37)
|
28
|
-
addressable (2.3.5)
|
29
|
-
arel (4.0.0)
|
30
|
-
atomic (1.1.10)
|
31
|
-
builder (3.1.4)
|
32
|
-
diff-lcs (1.2.4)
|
33
|
-
erubis (2.7.0)
|
34
|
-
faraday (0.8.7)
|
35
|
-
multipart-post (~> 1.1)
|
36
|
-
generator_spec (0.9.0)
|
37
|
-
activerecord (>= 3.0, <= 4.0)
|
38
|
-
railties (>= 3.0, <= 4.0)
|
39
|
-
git (1.2.5)
|
40
|
-
github_api (0.10.1)
|
41
|
-
addressable
|
42
|
-
faraday (~> 0.8.1)
|
43
|
-
hashie (>= 1.2)
|
44
|
-
multi_json (~> 1.4)
|
45
|
-
nokogiri (~> 1.5.2)
|
46
|
-
oauth2
|
47
|
-
hashie (2.0.5)
|
48
|
-
highline (1.6.19)
|
49
|
-
hike (1.2.3)
|
50
|
-
httpauth (0.2.0)
|
51
|
-
i18n (0.6.4)
|
52
|
-
jeweler (1.8.6)
|
53
|
-
builder
|
54
|
-
bundler (~> 1.0)
|
55
|
-
git (>= 1.2.5)
|
56
|
-
github_api (= 0.10.1)
|
57
|
-
highline (>= 1.6.15)
|
58
|
-
nokogiri (= 1.5.10)
|
59
|
-
rake
|
60
|
-
rdoc
|
61
|
-
json (1.8.0)
|
62
|
-
json_pure (1.8.0)
|
63
|
-
jwt (0.1.8)
|
64
|
-
multi_json (>= 1.5)
|
65
|
-
mail (2.5.4)
|
66
|
-
mime-types (~> 1.16)
|
67
|
-
treetop (~> 1.4.8)
|
68
|
-
mime-types (1.23)
|
69
|
-
minitest (4.7.5)
|
70
|
-
multi_json (1.7.7)
|
71
|
-
multi_xml (0.5.4)
|
72
|
-
multipart-post (1.2.0)
|
73
|
-
nokogiri (1.5.10)
|
74
|
-
oauth2 (0.9.2)
|
75
|
-
faraday (~> 0.8)
|
76
|
-
httpauth (~> 0.2)
|
77
|
-
jwt (~> 0.1.4)
|
78
|
-
multi_json (~> 1.0)
|
79
|
-
multi_xml (~> 0.5)
|
80
|
-
rack (~> 1.2)
|
81
|
-
polyglot (0.3.3)
|
82
|
-
rack (1.5.2)
|
83
|
-
rack-test (0.6.2)
|
84
|
-
rack (>= 1.0)
|
85
|
-
rails (4.0.0)
|
86
|
-
actionmailer (= 4.0.0)
|
87
|
-
actionpack (= 4.0.0)
|
88
|
-
activerecord (= 4.0.0)
|
89
|
-
activesupport (= 4.0.0)
|
90
|
-
bundler (>= 1.3.0, < 2.0)
|
91
|
-
railties (= 4.0.0)
|
92
|
-
sprockets-rails (~> 2.0.0)
|
93
|
-
railties (4.0.0)
|
94
|
-
actionpack (= 4.0.0)
|
95
|
-
activesupport (= 4.0.0)
|
96
|
-
rake (>= 0.8.7)
|
97
|
-
thor (>= 0.18.1, < 2.0)
|
98
|
-
rake (10.1.0)
|
99
|
-
rdoc (4.0.1)
|
100
|
-
json (~> 1.4)
|
101
|
-
rspec (2.13.0)
|
102
|
-
rspec-core (~> 2.13.0)
|
103
|
-
rspec-expectations (~> 2.13.0)
|
104
|
-
rspec-mocks (~> 2.13.0)
|
105
|
-
rspec-core (2.13.1)
|
106
|
-
rspec-expectations (2.13.0)
|
107
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
108
|
-
rspec-mocks (2.13.1)
|
109
|
-
rspec-rails (2.13.2)
|
110
|
-
actionpack (>= 3.0)
|
111
|
-
activesupport (>= 3.0)
|
112
|
-
railties (>= 3.0)
|
113
|
-
rspec-core (~> 2.13.0)
|
114
|
-
rspec-expectations (~> 2.13.0)
|
115
|
-
rspec-mocks (~> 2.13.0)
|
116
|
-
simplecov (0.7.1)
|
117
|
-
multi_json (~> 1.0)
|
118
|
-
simplecov-html (~> 0.7.1)
|
119
|
-
simplecov-html (0.7.1)
|
120
|
-
sprockets (2.10.0)
|
121
|
-
hike (~> 1.2)
|
122
|
-
multi_json (~> 1.0)
|
123
|
-
rack (~> 1.0)
|
124
|
-
tilt (~> 1.1, != 1.3.0)
|
125
|
-
sprockets-rails (2.0.0)
|
126
|
-
actionpack (>= 3.0)
|
127
|
-
activesupport (>= 3.0)
|
128
|
-
sprockets (~> 2.8)
|
129
|
-
sqlite3 (1.3.7)
|
130
|
-
thor (0.18.1)
|
131
|
-
thread_safe (0.1.0)
|
132
|
-
atomic
|
133
|
-
tilt (1.4.1)
|
134
|
-
treetop (1.4.14)
|
135
|
-
polyglot
|
136
|
-
polyglot (>= 0.3.1)
|
137
|
-
tzinfo (0.3.37)
|
138
|
-
|
139
|
-
PLATFORMS
|
140
|
-
ruby
|
141
|
-
|
142
|
-
DEPENDENCIES
|
143
|
-
actionpack (>= 4.0.0)
|
144
|
-
generator_spec
|
145
|
-
jeweler
|
146
|
-
json_pure
|
147
|
-
nokogiri
|
148
|
-
rails (>= 4.0.0)
|
149
|
-
rspec (>= 2.8.0)
|
150
|
-
rspec-rails (>= 2.8.0)
|
151
|
-
simplecov
|
152
|
-
sqlite3
|
@@ -1,154 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (3.2.13)
|
5
|
-
actionpack (= 3.2.13)
|
6
|
-
mail (~> 2.5.3)
|
7
|
-
actionpack (3.2.13)
|
8
|
-
activemodel (= 3.2.13)
|
9
|
-
activesupport (= 3.2.13)
|
10
|
-
builder (~> 3.0.0)
|
11
|
-
erubis (~> 2.7.0)
|
12
|
-
journey (~> 1.0.4)
|
13
|
-
rack (~> 1.4.5)
|
14
|
-
rack-cache (~> 1.2)
|
15
|
-
rack-test (~> 0.6.1)
|
16
|
-
sprockets (~> 2.2.1)
|
17
|
-
activemodel (3.2.13)
|
18
|
-
activesupport (= 3.2.13)
|
19
|
-
builder (~> 3.0.0)
|
20
|
-
activerecord (3.2.13)
|
21
|
-
activemodel (= 3.2.13)
|
22
|
-
activesupport (= 3.2.13)
|
23
|
-
arel (~> 3.0.2)
|
24
|
-
tzinfo (~> 0.3.29)
|
25
|
-
activeresource (3.2.13)
|
26
|
-
activemodel (= 3.2.13)
|
27
|
-
activesupport (= 3.2.13)
|
28
|
-
activesupport (3.2.13)
|
29
|
-
i18n (= 0.6.1)
|
30
|
-
multi_json (~> 1.0)
|
31
|
-
addressable (2.3.5)
|
32
|
-
arel (3.0.2)
|
33
|
-
builder (3.0.4)
|
34
|
-
diff-lcs (1.2.4)
|
35
|
-
erubis (2.7.0)
|
36
|
-
faraday (0.8.7)
|
37
|
-
multipart-post (~> 1.1)
|
38
|
-
generator_spec (0.9.0)
|
39
|
-
activerecord (>= 3.0, <= 4.0)
|
40
|
-
railties (>= 3.0, <= 4.0)
|
41
|
-
git (1.2.5)
|
42
|
-
github_api (0.10.1)
|
43
|
-
addressable
|
44
|
-
faraday (~> 0.8.1)
|
45
|
-
hashie (>= 1.2)
|
46
|
-
multi_json (~> 1.4)
|
47
|
-
nokogiri (~> 1.5.2)
|
48
|
-
oauth2
|
49
|
-
hashie (2.0.5)
|
50
|
-
highline (1.6.19)
|
51
|
-
hike (1.2.3)
|
52
|
-
httpauth (0.2.0)
|
53
|
-
i18n (0.6.1)
|
54
|
-
jeweler (1.8.6)
|
55
|
-
builder
|
56
|
-
bundler (~> 1.0)
|
57
|
-
git (>= 1.2.5)
|
58
|
-
github_api (= 0.10.1)
|
59
|
-
highline (>= 1.6.15)
|
60
|
-
nokogiri (= 1.5.10)
|
61
|
-
rake
|
62
|
-
rdoc
|
63
|
-
journey (1.0.4)
|
64
|
-
json (1.8.0)
|
65
|
-
json_pure (1.8.0)
|
66
|
-
jwt (0.1.8)
|
67
|
-
multi_json (>= 1.5)
|
68
|
-
mail (2.5.4)
|
69
|
-
mime-types (~> 1.16)
|
70
|
-
treetop (~> 1.4.8)
|
71
|
-
mime-types (1.23)
|
72
|
-
multi_json (1.7.7)
|
73
|
-
multi_xml (0.5.4)
|
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)
|
83
|
-
polyglot (0.3.3)
|
84
|
-
rack (1.4.5)
|
85
|
-
rack-cache (1.2)
|
86
|
-
rack (>= 0.4)
|
87
|
-
rack-ssl (1.3.3)
|
88
|
-
rack
|
89
|
-
rack-test (0.6.2)
|
90
|
-
rack (>= 1.0)
|
91
|
-
rails (3.2.13)
|
92
|
-
actionmailer (= 3.2.13)
|
93
|
-
actionpack (= 3.2.13)
|
94
|
-
activerecord (= 3.2.13)
|
95
|
-
activeresource (= 3.2.13)
|
96
|
-
activesupport (= 3.2.13)
|
97
|
-
bundler (~> 1.0)
|
98
|
-
railties (= 3.2.13)
|
99
|
-
railties (3.2.13)
|
100
|
-
actionpack (= 3.2.13)
|
101
|
-
activesupport (= 3.2.13)
|
102
|
-
rack-ssl (~> 1.3.2)
|
103
|
-
rake (>= 0.8.7)
|
104
|
-
rdoc (~> 3.4)
|
105
|
-
thor (>= 0.14.6, < 2.0)
|
106
|
-
rake (10.1.0)
|
107
|
-
rdoc (3.12.2)
|
108
|
-
json (~> 1.4)
|
109
|
-
rspec (2.14.0)
|
110
|
-
rspec-core (~> 2.14.0)
|
111
|
-
rspec-expectations (~> 2.14.0)
|
112
|
-
rspec-mocks (~> 2.14.0)
|
113
|
-
rspec-core (2.14.2)
|
114
|
-
rspec-expectations (2.14.0)
|
115
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
116
|
-
rspec-mocks (2.14.1)
|
117
|
-
rspec-rails (2.14.0)
|
118
|
-
actionpack (>= 3.0)
|
119
|
-
activesupport (>= 3.0)
|
120
|
-
railties (>= 3.0)
|
121
|
-
rspec-core (~> 2.14.0)
|
122
|
-
rspec-expectations (~> 2.14.0)
|
123
|
-
rspec-mocks (~> 2.14.0)
|
124
|
-
simplecov (0.7.1)
|
125
|
-
multi_json (~> 1.0)
|
126
|
-
simplecov-html (~> 0.7.1)
|
127
|
-
simplecov-html (0.7.1)
|
128
|
-
sprockets (2.2.2)
|
129
|
-
hike (~> 1.2)
|
130
|
-
multi_json (~> 1.0)
|
131
|
-
rack (~> 1.0)
|
132
|
-
tilt (~> 1.1, != 1.3.0)
|
133
|
-
sqlite3 (1.3.7)
|
134
|
-
thor (0.18.1)
|
135
|
-
tilt (1.4.1)
|
136
|
-
treetop (1.4.14)
|
137
|
-
polyglot
|
138
|
-
polyglot (>= 0.3.1)
|
139
|
-
tzinfo (0.3.37)
|
140
|
-
|
141
|
-
PLATFORMS
|
142
|
-
ruby
|
143
|
-
|
144
|
-
DEPENDENCIES
|
145
|
-
actionpack (~> 3.2.0)
|
146
|
-
generator_spec
|
147
|
-
jeweler
|
148
|
-
json_pure
|
149
|
-
nokogiri
|
150
|
-
rails (~> 3.2.0)
|
151
|
-
rspec (>= 2.8.0)
|
152
|
-
rspec-rails (>= 2.8.0)
|
153
|
-
simplecov
|
154
|
-
sqlite3
|