cloudfront-rails 0.1.0 → 0.2.0
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/.gitignore +1 -0
- data/.travis.yml +5 -2
- data/README.md +5 -3
- data/cloudfront-rails.gemspec +2 -4
- data/lib/cloudfront/rails/railtie.rb +1 -1
- data/lib/cloudfront/rails/version.rb +1 -1
- metadata +6 -7
- data/log/test.log +0 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc2a485050c6c825c7fdadb97726ae526216bca2
|
|
4
|
+
data.tar.gz: 08b4fcc2648e35719d404d4b0204752bea7ef813
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1be3a5438ae29cd45ee84ba7b48fe62a60a23ca9d6f04f47f2818566b48b7e48b23dff43c8d53051c407237af3da1bea3041aa1209a3547d3ee25bfc8a1512f
|
|
7
|
+
data.tar.gz: 10f982ab9402ede4d5ad10cb0ae4aae60ec4cce4b3da90e897b4ab0f3ccf0aa41ba15924afd0dbdbdb2e5aaf5a5f933d6c1da2e52def54b24f2c9990e150e5a9
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# Cloudfront::Rails
|
|
2
2
|
|
|
3
|
-
This Gem is a shameless copy of [cloudflare-rails](https://github.com/modosc/cloudflare-rails), but for CloudFront
|
|
3
|
+
This Gem is a shameless copy of [cloudflare-rails](https://github.com/modosc/cloudflare-rails), but for [CloudFront](https://aws.amazon.com/cloudfront/)
|
|
4
|
+
|
|
5
|
+

|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
|
-
__This
|
|
9
|
+
__This gem now supports Rails 5,, for Rails 4, please use version ~> 0.1.0__
|
|
8
10
|
|
|
9
11
|
Add this line to your application's Gemfile:
|
|
10
12
|
|
|
@@ -41,7 +43,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
41
43
|
|
|
42
44
|
## Contributing
|
|
43
45
|
|
|
44
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
46
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/dinks/cloudfront-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
45
47
|
|
|
46
48
|
|
|
47
49
|
## License
|
data/cloudfront-rails.gemspec
CHANGED
|
@@ -11,12 +11,10 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{ Whitelist Cloudfront Proxies }
|
|
13
13
|
spec.description = %q{ Whitelist Cloudfront Proxies for Rails so that request.ip and request.remote_ip work properly }
|
|
14
|
-
spec.homepage = ""
|
|
14
|
+
spec.homepage = "https://github.com/dinks/cloudfront-rails/"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
18
|
-
spec.bindir = "exe"
|
|
19
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
20
18
|
spec.require_paths = ["lib"]
|
|
21
19
|
|
|
22
20
|
spec.add_development_dependency "bundler", "~> 1.12"
|
|
@@ -26,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
|
26
24
|
|
|
27
25
|
spec.add_development_dependency "webmock"
|
|
28
26
|
|
|
29
|
-
spec.add_dependency "rails", "~>
|
|
27
|
+
spec.add_dependency "rails", "~> 5.0"
|
|
30
28
|
spec.add_dependency "httparty"
|
|
31
29
|
|
|
32
30
|
spec.required_ruby_version = ">= 2.0"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudfront-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dinesh V
|
|
8
8
|
autorequire:
|
|
9
|
-
bindir:
|
|
9
|
+
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-03
|
|
11
|
+
date: 2017-07-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -86,14 +86,14 @@ dependencies:
|
|
|
86
86
|
requirements:
|
|
87
87
|
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '
|
|
89
|
+
version: '5.0'
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
94
|
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '
|
|
96
|
+
version: '5.0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: httparty
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -130,8 +130,7 @@ files:
|
|
|
130
130
|
- lib/cloudfront/rails.rb
|
|
131
131
|
- lib/cloudfront/rails/railtie.rb
|
|
132
132
|
- lib/cloudfront/rails/version.rb
|
|
133
|
-
|
|
134
|
-
homepage: ''
|
|
133
|
+
homepage: https://github.com/dinks/cloudfront-rails/
|
|
135
134
|
licenses:
|
|
136
135
|
- MIT
|
|
137
136
|
metadata: {}
|
data/log/test.log
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
Cloudfront::Rails: Couldn't import from Cloudfront: #<Net::HTTPNotFound:0x007f85f28f5fc8>
|
|
2
|
-
Cloudfront::Rails: Couldn't import from Cloudfront: #<Net::HTTPNotFound:0x007f8ca34fa6c8>
|
|
3
|
-
Cloudfront::Rails: Couldn't import from Cloudfront: #<Net::HTTPNotFound:0x007f9b1b6e1d48>
|
|
4
|
-
Cloudfront::Rails: Got exception: 814: unexpected token at 'asdfasdfasdfasdfasdf'
|