statistrano 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6742832f1962002c130d9f7439a249b033361d6
4
- data.tar.gz: 4f81dc90c9bd486974bf39833c3afdbef61fdb30
3
+ metadata.gz: 57e7b128b972ea3d1ef6479f4eff02bacd010969
4
+ data.tar.gz: 433092dffd702bc42225e8b120cebe5eec7f26f0
5
5
  SHA512:
6
- metadata.gz: 68baf46bb2e0745ce822b1237128a83920e80ac05cd5a4282c49b15ca581ee76c4a3b8eee9bcd9f9b081b3fb508f4dd42834bf1c1adeca7fa9b6a83e34a11c2c
7
- data.tar.gz: 631311787d08d79cd7fe3241c087c6fde1edea3ed69657f01eb737e9809c673d15845e096aa30908b9ab5b99df9fb8f8fd4ef4f47fbbb23b4767880a3749438b
6
+ metadata.gz: e8da835126fc8f176e186dd0e503ce3c39379866257db1a9fffdb965a0232b941ae05e148b37ea60e65691c0375f1bbd9e0e3eccb6c89717661fe483ad833e63
7
+ data.tar.gz: 4e29ddaee9c5f1522664e0458472f6c9b511193467520dd774bf8bce4e7f9217836c34024ecf8083984ee118d962a2730c2df3a620774a0ef6eebfd660da1f61
data/changelog.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 1.2.3
2
+ - fix bug in manifest creation/saving from changes in ruby 2.2.x
3
+
1
4
  # 1.2.2
2
5
  - bump dependency of `HereOrThere`, prevents issues w/ getting the contents of remote files when they're large enough to have chunked responses.
3
6
 
@@ -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 data, match_key
30
- remove_if { |i| i[match_key] == data[match_key] }
31
- push data
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 data=data
79
- data.to_json
78
+ def serialize data_to_serialize=data
79
+ data_to_serialize.to_json
80
80
  end
81
81
 
82
82
  def remote_path
@@ -1,3 +1,3 @@
1
1
  module Statistrano
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
data/readme.md CHANGED
@@ -10,8 +10,7 @@ Installation
10
10
 
11
11
  With Bundler
12
12
  ```ruby
13
- gem "statistrano", git: "git@github.com:mailchimp/statistrano.git",
14
- tag: "X.X.X"
13
+ gem "statistrano", "~> 1.2.2"
15
14
  ```
16
15
 
17
16
 
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.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-01-13 00:00:00.000000000 Z
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.3
187
+ rubygems_version: 2.4.5
188
188
  signing_key:
189
189
  specification_version: 4
190
190
  summary: deployment tool for static sites