bit_player 0.4.4 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -3
- data/Rakefile +15 -1
- data/app/models/bit_player/content_providers/form_view_provider.rb +1 -1
- data/app/models/bit_player/content_providers/view_provider.rb +1 -1
- data/app/models/bit_player/navigator.rb +5 -4
- data/lib/bit_player/engine.rb +1 -0
- data/lib/bit_player/version.rb +2 -1
- data/spec/dummy/log/development.log +678 -232
- data/spec/dummy/log/test.log +212 -3242
- data/spec/models/bit_player/navigator_spec.rb +6 -2
- metadata +31 -18
- data/config/routes.rb +0 -2
@@ -11,13 +11,17 @@ describe BitPlayer::Navigator do
|
|
11
11
|
content_position: 3
|
12
12
|
)
|
13
13
|
end
|
14
|
-
let(:
|
14
|
+
let(:arm) { double("arm") }
|
15
|
+
let(:group) { double("group", arm: arm) }
|
16
|
+
let(:participant) do
|
17
|
+
double("participant", navigation_status: status, active_group: group)
|
18
|
+
end
|
15
19
|
let(:view_context) { double("context", current_participant: participant) }
|
16
20
|
let(:provider) { double("provider") }
|
17
21
|
let(:nav) { BitPlayer::Navigator.new(participant) }
|
18
22
|
|
19
23
|
before do
|
20
|
-
|
24
|
+
allow(arm).to receive_message_chain(:bit_core_tools, :find_by_title)
|
21
25
|
.and_return(double("tool", id: 1))
|
22
26
|
end
|
23
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bit_player
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Carty-Fickes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.1'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bit_core
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '1.1'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.1'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: pg
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +80,34 @@ dependencies:
|
|
94
80
|
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: 3.0.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.25'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.25'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: brakeman
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
description: A Rails engine for presenting a BIT web application
|
98
112
|
email:
|
99
113
|
- ericcf@northwestern.edu
|
@@ -112,7 +126,6 @@ files:
|
|
112
126
|
- app/models/bit_player/navigator.rb
|
113
127
|
- app/models/bit_player/participant_status.rb
|
114
128
|
- app/views/layouts/bit_player/application.html.erb
|
115
|
-
- config/routes.rb
|
116
129
|
- db/migrate/20140305200438_create_bit_player_content_modules.rb
|
117
130
|
- db/migrate/20140305201300_create_bit_player_content_providers.rb
|
118
131
|
- db/migrate/20140305232705_create_bit_player_participant_statuses.rb
|
@@ -190,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
203
|
version: '0'
|
191
204
|
requirements: []
|
192
205
|
rubyforge_project:
|
193
|
-
rubygems_version: 2.
|
206
|
+
rubygems_version: 2.6.4
|
194
207
|
signing_key:
|
195
208
|
specification_version: 4
|
196
209
|
summary: A Rails engine for presenting a BIT web application
|
data/config/routes.rb
DELETED