Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c5e2c1ca
Commit
c5e2c1ca
authored
Jul 10, 2019
by
Małgorzata Ksionek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add newline before subject
Fix rubocop offences
parent
5de47766
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
1 deletion
+6
-1
app/models/cycle_analytics/project_level.rb
app/models/cycle_analytics/project_level.rb
+0
-1
spec/models/cycle_analytics/code_spec.rb
spec/models/cycle_analytics/code_spec.rb
+1
-0
spec/models/cycle_analytics/issue_spec.rb
spec/models/cycle_analytics/issue_spec.rb
+1
-0
spec/models/cycle_analytics/plan_spec.rb
spec/models/cycle_analytics/plan_spec.rb
+1
-0
spec/models/cycle_analytics/production_spec.rb
spec/models/cycle_analytics/production_spec.rb
+1
-0
spec/models/cycle_analytics/review_spec.rb
spec/models/cycle_analytics/review_spec.rb
+1
-0
spec/models/cycle_analytics/test_spec.rb
spec/models/cycle_analytics/test_spec.rb
+1
-0
No files found.
app/models/cycle_analytics/project_level.rb
View file @
c5e2c1ca
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
module
CycleAnalytics
module
CycleAnalytics
class
ProjectLevel
<
Base
class
ProjectLevel
<
Base
attr_reader
:project
,
:options
attr_reader
:project
,
:options
def
initialize
(
project
,
options
:)
def
initialize
(
project
,
options
:)
...
...
spec/models/cycle_analytics/code_spec.rb
View file @
c5e2c1ca
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#code' do
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#code' do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
context
'with deployment'
do
context
'with deployment'
do
...
...
spec/models/cycle_analytics/issue_spec.rb
View file @
c5e2c1ca
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#issue' do
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#issue' do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
generate_cycle_analytics_spec
(
generate_cycle_analytics_spec
(
...
...
spec/models/cycle_analytics/plan_spec.rb
View file @
c5e2c1ca
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#plan' do
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#plan' do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
generate_cycle_analytics_spec
(
generate_cycle_analytics_spec
(
...
...
spec/models/cycle_analytics/production_spec.rb
View file @
c5e2c1ca
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#production' do
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#production' do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
generate_cycle_analytics_spec
(
generate_cycle_analytics_spec
(
...
...
spec/models/cycle_analytics/review_spec.rb
View file @
c5e2c1ca
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#review' do
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#review' do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
generate_cycle_analytics_spec
(
generate_cycle_analytics_spec
(
...
...
spec/models/cycle_analytics/test_spec.rb
View file @
c5e2c1ca
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#test' do
...
@@ -8,6 +8,7 @@ describe 'CycleAnalytics#test' do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:from_date
)
{
10
.
days
.
ago
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
let
(
:user
)
{
create
(
:user
,
:admin
)
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
subject
{
CycleAnalytics
::
ProjectLevel
.
new
(
project
,
options:
{
from:
from_date
})
}
generate_cycle_analytics_spec
(
generate_cycle_analytics_spec
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment