Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
diaspora
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Milan
diaspora
Commits
ce8b3c89
Commit
ce8b3c89
authored
12 years ago
by
Jonne Haß
Browse files
Options
Downloads
Patches
Plain Diff
update changelog; replace "pre" releases with a plain "head"
Conflicts: config/defaults.yml
parent
288e1ddd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Changelog.md
+6
-0
6 additions, 0 deletions
Changelog.md
config/defaults.yml
+0
-1
0 additions, 1 deletion
config/defaults.yml
lib/configuration_methods.rb
+1
-1
1 addition, 1 deletion
lib/configuration_methods.rb
spec/lib/configuration_methods_spec.rb
+0
-10
0 additions, 10 deletions
spec/lib/configuration_methods_spec.rb
with
7 additions
and
12 deletions
Changelog.md
+
6
−
0
View file @
ce8b3c89
# Head
## Features
*
Deleting a post that was shared to Facebook now deletes it from Facebook too
[
#3980
](
https://github.com/diaspora/diaspora/pull/3980
)
# 0.0.3.0
## Refactor
...
...
This diff is collapsed.
Click to expand it.
config/defaults.yml
+
0
−
1
View file @
ce8b3c89
...
...
@@ -5,7 +5,6 @@
defaults
:
version
:
number
:
"
0.0.3.0"
release
:
true
# Do not touch unless in a merge conflict on doing a release, master should have a commit setting this to true which is not backported to the develop branch.
heroku
:
false
environment
:
url
:
"
http://localhost:3000/"
...
...
This diff is collapsed.
Click to expand it.
lib/configuration_methods.rb
+
1
−
1
View file @
ce8b3c89
...
...
@@ -42,7 +42,6 @@ module Configuration
def
version_string
return
@version_string
unless
@version_string
.
nil?
@version_string
=
version
.
number
.
to_s
@version_string
<<
"pre"
unless
version
.
release?
@version_string
<<
"-p
#{
git_revision
[
0
..
7
]
}
"
if
git_available?
@version_string
end
...
...
@@ -54,6 +53,7 @@ module Configuration
@git_available
=
false
else
`which git`
`git status 2> /dev/null`
if
$?
.
success?
@git_available
=
$?
.
success?
end
end
...
...
This diff is collapsed.
Click to expand it.
spec/lib/configuration_methods_spec.rb
+
0
−
10
View file @
ce8b3c89
...
...
@@ -82,16 +82,6 @@ describe Configuration::Methods do
@settings
.
version_string
.
should
include
@version
.
number
end
context
"on a non release"
do
before
do
@version
.
stub
(
:release?
).
and_return
(
false
)
end
it
"includes pre"
do
@settings
.
version_string
.
should
include
"pre"
end
end
context
"with git available"
do
before
do
@settings
.
stub
(
:git_available?
).
and_return
(
true
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment