runeblog 0.0.76 → 0.0.77
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/VERSION +1 -1
- data/lib/runeblog.rb +5 -0
- data/lib/version.rb +1 -1
- data/test/general.rb +6 -2
- data/test/test +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1569e4f78adc608707f4eb19abcb8fb93a02fbc
|
4
|
+
data.tar.gz: ea6dddca0418de9a86335ed056187e28951ae952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d97b86002bb3573ca90d4dad60606d0b274d27496e875e4fbefa9046a0265114c0d2434402467c7c3816dbda72955603b16d255acacdbc77a89b05f37d229c1
|
7
|
+
data.tar.gz: 1459f0d97b66954d116307bd7b9695f81107a8ecf378e593f18aae3edf9ca67145e83101495dac973a77f1df7afd220541b738df822ea74a0e7e328708bf91ff
|
data/data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
RuneBlog v 0.0.
|
1
|
+
RuneBlog v 0.0.77 2018-10-04
|
data/lib/runeblog.rb
CHANGED
data/lib/version.rb
CHANGED
data/test/general.rb
CHANGED
@@ -111,12 +111,14 @@ class TestREPL < Minitest::Test
|
|
111
111
|
end
|
112
112
|
|
113
113
|
def test_008_current_view!
|
114
|
-
assert @blog.view.to_s == "alpha_view", "Current view
|
114
|
+
assert @blog.view.to_s == "alpha_view", "Current view wrong (#{@blog.view}, not alpha_view)"
|
115
115
|
end
|
116
116
|
|
117
117
|
def test_009_change_view!
|
118
118
|
assert @blog.change_view("beta_view")
|
119
|
-
assert @blog.view.to_s == "beta_view", "Current view
|
119
|
+
assert @blog.view.to_s == "beta_view", "Current view wrong (#{@blog.view}, not beta_view)"
|
120
|
+
assert @blog.change_view("alpha_view")
|
121
|
+
assert @blog.view.to_s == "alpha_view", "Current view wrong (#{@blog.view}, not alpha_view)"
|
120
122
|
end
|
121
123
|
|
122
124
|
def test_010_accessors!
|
@@ -145,7 +147,9 @@ class TestREPL < Minitest::Test
|
|
145
147
|
num = @blog.create_new_post(meta, true)
|
146
148
|
assert @blog.posts.size == before + 1, "Don't see new post"
|
147
149
|
@blog.remove_post(num)
|
150
|
+
@blog.delete_draft(num) # Hmm
|
148
151
|
assert @blog.posts.size == before, "Failed to delete post"
|
152
|
+
@blog.change_view("alpha_view")
|
149
153
|
end
|
150
154
|
|
151
155
|
def test_013_kill_posts!
|
data/test/test
CHANGED