authorize_action 1.1.0 → 1.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a968ff7c861dd07d4c584a18944a2dff098ad831
4
- data.tar.gz: 81e4ee0ba13c6b8c320eb973951789c7cabd5a41
3
+ metadata.gz: 8ebe8ac2af61b9a1b3cd9691a7b74d3dddb3757b
4
+ data.tar.gz: de841f932b9049435f1d9b21dc0a13c5a50be159
5
5
  SHA512:
6
- metadata.gz: 2118a88d9d44f4eeb8b9952d2c6e72f892415cd3004cf2b82ba616c58e7afeda6d29738534dc5095f16a8b56fc9f58aca426b7d47552d1f66a47e4c846851cc5
7
- data.tar.gz: 5ac369a27f657698e97827915693e094b6dc1de104ba7178f688f175649b7255f6bfea98e90e6e58f5acf135e6b6c36d092692721f3ebcfe1438db1f781ea022
6
+ metadata.gz: d4afd92d5a6ede7a7ae0bcfd554a6a522a1edef4cf8f76da2144592b50828d9f5980cc51e7c9533144bb05f083033ff34384b62f5159ebda8ea06b47e62b1c90
7
+ data.tar.gz: 69c94cc9c91a9ee7dda1576d107a32d848004ad68721e10a7a7ce56d323da0c65ddca1b28717b8af758ed71934a7d40dcb73610b51ef9a6bfbcb78834c6f1603
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.1.1 - 2015/07/08
2
+
3
+ * Fix gem checksum.
4
+
1
5
  ### 1.1.0 - 2015/07/08
2
6
 
3
7
  * Sign gem cryptographically and calculate checksum.
data/README.md CHANGED
@@ -68,6 +68,12 @@ compared to all the rest:
68
68
 
69
69
  _authorize_action_ is cryptographically signed. To be sure the gem you install hasn’t been tampered with:
70
70
 
71
+ * Verify gem checksum:
72
+
73
+ $ gem fetch authorize_action && \
74
+ ruby -rdigest/sha2 -e "puts Digest::SHA512.new.hexdigest(File.read(Dir.glob('authorize_action-*.gem')[0]))" && \
75
+ curl -Ls https://raw.githubusercontent.com/jarmo/authorize_action/master/checksum/`ls authorize_action-*.gem`.sha512
76
+
71
77
  * Add my public key (if you haven’t already) as a trusted certificate:
72
78
 
73
79
  `$ gem cert --add <(curl -Ls https://raw.github.com/jarmo/authorize_action/master/certs/jarmo.pem)`
data/Rakefile CHANGED
@@ -17,5 +17,5 @@ def calculate_checksum
17
17
  FileUtils.mkdir_p("checksum")
18
18
  checksum_file_path = "checksum/#{gem_file_name}.sha512"
19
19
  File.open(checksum_file_path, "w" ) {|f| f.write(checksum) }
20
- `git commit -m "Add checksum for #{gem_file_name}. #{checksum_file_path}"`
20
+ sh %Q[git add #{checksum_file_path} && git commit -m "Add checksum for #{gem_file_name}." #{checksum_file_path}]
21
21
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "authorize_action"
7
- spec.version = "1.1.0"
7
+ spec.version = "1.1.1"
8
8
  spec.authors = ["Jarmo Pertman"]
9
9
  spec.email = ["jarmo.p@gmail.com"]
10
10
  spec.description = %q{Really secure and simple authorization library for your Rails, Sinatra or whatever web framework, which doesn't suck.}
@@ -0,0 +1 @@
1
+ 941e8ccdf67b0f3425fd2948a1ab41bdd6774bcb3ded86358981cb341d22af318600c50261fb1c1742624af62ee1add24f9268760fa06740e97c1b48b3ac0ffa
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authorize_action
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarmo Pertman
@@ -91,7 +91,7 @@ files:
91
91
  - Rakefile
92
92
  - authorize_action.gemspec
93
93
  - certs/jarmo.pem
94
- - checksum/.keep
94
+ - checksum/authorize_action-1.1.0.gem.sha512
95
95
  - lib/authorize_action.rb
96
96
  - lib/authorize_action/rails.rb
97
97
  - lib/authorize_action/sinatra.rb
metadata.gz.sig CHANGED
Binary file
data/checksum/.keep DELETED
File without changes