hydra-batch-edit 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +2 -0
- data/History.md +7 -0
- data/{lib → app/controllers/concerns}/hydra/batch_edit_behavior.rb +0 -0
- data/hydra-batch-edit.gemspec +1 -0
- data/lib/hydra-batch-edit.rb +0 -1
- data/lib/hydra/batch_edit.rb +3 -1
- data/lib/hydra/batch_edit/version.rb +1 -1
- data/spec/controllers/batch_edits_controller_spec.rb +3 -3
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31abc46ae3ac50ad8596f10c35b7b2e9fe110546
|
4
|
+
data.tar.gz: 997edeafa330a062c5568fdd927569cf4c693bd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e11a1f8ca250562b3b99696d79bfef0cc34a8f39d8d9864048480a27a309338c4a0bfbc713f94947eaec87d5dbf3c7cb3bba710eef14cb71f2bbd70b62249d8d
|
7
|
+
data.tar.gz: 366d76b4b783ea4d14af7ca7c9c505bf10f87a1bc651f63cdd845cec3753696373da03b732d777a149b2b59cc89ccd29291e6fa8d4970f7596e803e419d07770
|
data/CONTRIBUTING.md
CHANGED
@@ -78,6 +78,8 @@ You should also add yourself to the `CONTRIBUTORS.md` file in the root of the pr
|
|
78
78
|
|
79
79
|
### Submitting Changes
|
80
80
|
|
81
|
+
[Detailed Walkthrough of One Pull Request per Commit](http://ndlib.github.io/practices/one-commit-per-pull-request/)
|
82
|
+
|
81
83
|
* Read the article ["Using Pull Requests"](https://help.github.com/articles/using-pull-requests) on GitHub.
|
82
84
|
* Make sure your branch is up to date with its parent branch (i.e. master)
|
83
85
|
* `git checkout master`
|
data/History.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# 1.1.0 (2013-10-01)
|
2
|
+
* 2013-10-01: Replaced deprecated `stub()' with `double()' [Justin Coyne]
|
3
|
+
* 2013-10-01: Refactor to load modules after engine is initialized (concerns) [Justin Coyne]
|
4
|
+
* 2013-09-19: Updating CONTRIBUTING.md as per Hydra v6.0.0 [Jeremy Friesen]
|
5
|
+
* 2013-08-07: Added license to the gemspec [Justin Coyne]
|
6
|
+
|
7
|
+
|
1
8
|
# 1.0.2 (2013-07-22)
|
2
9
|
|
3
10
|
* Routes should work the same in rails 3.2 and rails 4.0
|
File without changes
|
data/hydra-batch-edit.gemspec
CHANGED
data/lib/hydra-batch-edit.rb
CHANGED
data/lib/hydra/batch_edit.rb
CHANGED
@@ -138,10 +138,10 @@ describe BatchEditsController do
|
|
138
138
|
|
139
139
|
describe "select all" do
|
140
140
|
before do
|
141
|
-
doc1 =
|
142
|
-
doc2 =
|
141
|
+
doc1 = double(id: 123)
|
142
|
+
doc2 = double(id: 456)
|
143
143
|
Hydra::BatchEdit::SearchService.any_instance.should_receive(:last_search_documents).and_return([doc1, doc2])
|
144
|
-
controller.stub(:
|
144
|
+
controller.stub(current_user: double(user_key: 'vanessa'))
|
145
145
|
end
|
146
146
|
it "should add every document in the current resultset to the batch" do
|
147
147
|
put :all
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-batch-edit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: blacklight
|
@@ -99,6 +99,7 @@ files:
|
|
99
99
|
- app/assets/javascripts/batch_edit.js.coffee
|
100
100
|
- app/assets/stylesheets/batch_edit.css.scss
|
101
101
|
- app/controllers/batch_edits_controller.rb
|
102
|
+
- app/controllers/concerns/hydra/batch_edit_behavior.rb
|
102
103
|
- app/helpers/batch_edit_helper.rb
|
103
104
|
- app/views/batch_edits/_check_all.html.erb
|
104
105
|
- app/views/batch_edits/_delete_batch.html.erb
|
@@ -114,7 +115,6 @@ files:
|
|
114
115
|
- lib/hydra/batch_edit/routes.rb
|
115
116
|
- lib/hydra/batch_edit/search_service.rb
|
116
117
|
- lib/hydra/batch_edit/version.rb
|
117
|
-
- lib/hydra/batch_edit_behavior.rb
|
118
118
|
- spec/.gitignore
|
119
119
|
- spec/controllers/batch_edits_controller_spec.rb
|
120
120
|
- spec/helpers/batch_edit_helper_spec.rb
|
@@ -129,7 +129,8 @@ files:
|
|
129
129
|
- spec/support/lib/generators/test_app_generator.rb
|
130
130
|
- spec/support/lib/tasks/rspec.rake
|
131
131
|
homepage: https://github.com/projecthydra/hydra-batch-edit
|
132
|
-
licenses:
|
132
|
+
licenses:
|
133
|
+
- APACHE2
|
133
134
|
metadata: {}
|
134
135
|
post_install_message:
|
135
136
|
rdoc_options: []
|
@@ -147,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
148
|
version: '0'
|
148
149
|
requirements: []
|
149
150
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.0.
|
151
|
+
rubygems_version: 2.0.5
|
151
152
|
signing_key:
|
152
153
|
specification_version: 4
|
153
154
|
summary: Rails engine to do batch editing with hydra-head
|