Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
0.1.x was the pre-alpha.

The first Alpha will be 0.2.x
  • Loading branch information
elegaanz committed Sep 11, 2018
1 parent abe9070 commit 8fa83df
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Bat' <[email protected]>"]
name = "plume"
version = "0.1.0"
version = "0.2.0"
[dependencies]
activitypub = "0.1.3"
atom_syndication = "0.6"
Expand Down
2 changes: 1 addition & 1 deletion plume-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plume-common"
version = "0.1.0"
version = "0.2.0"
authors = ["Bat' <[email protected]>"]

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions plume-common/src/activity_pub/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::time::SystemTime;
use activity_pub::ap_accept_header;
use activity_pub::sign::Signer;

const USER_AGENT: &'static str = "Plume/0.1.0";
const USER_AGENT: &'static str = "Plume/0.2.0";

header! {
(Signature, "Signature") => [String]
Expand All @@ -30,7 +30,7 @@ pub fn headers() -> Headers {
pub fn signature<S: Signer>(signer: &S, headers: Headers) -> Signature {
let signed_string = headers.iter().map(|h| format!("{}: {}", h.name().to_lowercase(), h.value_string())).collect::<Vec<String>>().join("\n");
let signed_headers = headers.iter().map(|h| h.name().to_string()).collect::<Vec<String>>().join(" ").to_lowercase();

let data = signer.sign(signed_string);
let sign = base64::encode(&data[..]);

Expand Down
2 changes: 1 addition & 1 deletion plume-models/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plume-models"
version = "0.1.0"
version = "0.2.0"
authors = ["Baptiste Gelez <[email protected]>"]

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions src/routes/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ fn nodeinfo(conn: DbConn) -> Json<serde_json::Value> {
"version": "2.0",
"software": {
"name": "Plume",
"version": "0.1.0"
"version": "0.2.0"
},
"protocols": ["activitypub"],
"services": {
Expand All @@ -238,7 +238,7 @@ fn about(user: Option<User>, conn: DbConn) -> Template {
"account": user.map(|u| u.to_json(&*conn)),
"instance": Instance::get_local(&*conn),
"admin": Instance::get_local(&*conn).map(|i| i.main_admin(&*conn).to_json(&*conn)),
"version": "0.1.0",
"version": "0.2.0",
"n_users": User::count_local(&*conn),
"n_articles": Post::count_local(&*conn),
"n_instances": Instance::count(&*conn) - 1
Expand Down
2 changes: 1 addition & 1 deletion templates/base.html.tera
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
{% endblock content %}
</main>
<footer>
<span>Plume 0.1.0</span>
<span>Plume 0.2.0</span>
<a href="/about">{{ "About this instance" | _ }}</a>
<a href="https://github.com/Plume-org/Plume">{{ "Source code" | _ }}</a>
<a href="https://riot.im/app/#/room/#plume:disroot.org">{{ "Matrix room" | _ }}</a>
Expand Down

0 comments on commit 8fa83df

Please sign in to comment.