statistrano 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/changelog.md +3 -0
- data/lib/statistrano/deployment/manifest.rb +5 -5
- data/lib/statistrano/version.rb +1 -1
- data/readme.md +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57e7b128b972ea3d1ef6479f4eff02bacd010969
|
4
|
+
data.tar.gz: 433092dffd702bc42225e8b120cebe5eec7f26f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8da835126fc8f176e186dd0e503ce3c39379866257db1a9fffdb965a0232b941ae05e148b37ea60e65691c0375f1bbd9e0e3eccb6c89717661fe483ad833e63
|
7
|
+
data.tar.gz: 4e29ddaee9c5f1522664e0458472f6c9b511193467520dd774bf8bce4e7f9217836c34024ecf8083984ee118d962a2730c2df3a620774a0ef6eebfd660da1f61
|
data/changelog.md
CHANGED
@@ -26,9 +26,9 @@ module Statistrano
|
|
26
26
|
# not that if you have used the `push` method previously
|
27
27
|
# all duplicates with the matching key **will** be removed
|
28
28
|
#
|
29
|
-
def put
|
30
|
-
remove_if { |i| i[match_key] ==
|
31
|
-
push
|
29
|
+
def put new_data, match_key
|
30
|
+
remove_if { |i| i[match_key] == new_data[match_key] }
|
31
|
+
push new_data
|
32
32
|
end
|
33
33
|
|
34
34
|
# pushes a data has into the manifest's array
|
@@ -75,8 +75,8 @@ module Statistrano
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
def serialize
|
79
|
-
|
78
|
+
def serialize data_to_serialize=data
|
79
|
+
data_to_serialize.to_json
|
80
80
|
end
|
81
81
|
|
82
82
|
def remote_path
|
data/lib/statistrano/version.rb
CHANGED
data/readme.md
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Andree
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-03-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
186
|
rubyforge_project:
|
187
|
-
rubygems_version: 2.4.
|
187
|
+
rubygems_version: 2.4.5
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: deployment tool for static sites
|