sha_header 0.0.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZDJmZjAxOWRlYjNiNDhmODg4NGM4YjlhZjFlMzczZDJmOWY5ZjcyMA==
5
+ data.tar.gz: !binary |-
6
+ YzIzYzllMjU1NTAzZDE5MjgxNGY4NDJiN2Y1ZTFkM2I5MjAxZmQ5MA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YmI5ZWZjYWMzMDY2M2Y3MjgzMmQyMmVkOThkYmUyNTM3N2VkNWVlN2I0YWU5
10
+ ZDBiMzljN2U2NGU4ZDRhYTIwYThiYjg3MDA4MTlmMWYwYzQ3MjgwOGJmODQ5
11
+ ZDdjZGZmYmEzNmNmMGYyNDU1OWY2OWM0MDQ1OTI5NzdmZjRhMWU=
12
+ data.tar.gz: !binary |-
13
+ Yjc3MjMxYzJlM2EyOWZlY2ViOTgyOThiMzdhYmNjNzNkZjM5Y2MyY2YwOTI3
14
+ YTMyMDZlNDc5NzUzYjJjMjg2ZjQxZDM1MDQ0MTJlODg0Njc3ZjBiYTg1Y2Ni
15
+ NTkyMWVjYTZlNTAyNmY1YTdiNDk5MDMxZTBhMGU0NjIzN2NhNTU=
data/.gitignore CHANGED
@@ -2,3 +2,7 @@
2
2
  .bundle
3
3
  Gemfile.lock
4
4
  pkg/*
5
+
6
+ .rvmrc
7
+ .ruby-version
8
+ .ruby-gemset
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ notifications:
6
+ email:
7
+ on_success: change
8
+ on_failure: always
@@ -0,0 +1,18 @@
1
+ # sha_header changelog
2
+
3
+ ## [HEAD][head] / unreleased
4
+
5
+ * No significant changes.
6
+
7
+ ## [v1.0.0][v1.0.0] / 2013-04-27
8
+
9
+ * Version 1.0 release after ~2 years of stability.
10
+
11
+ [v0.0.4][v0.0.4], [v0.0.3][v0.0.3], [v0.0.2][v0.0.2], [v0.0.1][v0.0.1]
12
+
13
+ [head]: https://github.com/nbibler/sha_header/compare/v1.0.0...master
14
+ [v1.0.0]: https://github.com/nbibler/sha_header/compare/v0.0.4...v1.0.0
15
+ [v0.0.4]: https://github.com/nbibler/sha_header/compare/v0.0.3...v0.0.4
16
+ [v0.0.3]: https://github.com/nbibler/sha_header/compare/v0.0.2...v0.0.3
17
+ [v0.0.2]: https://github.com/nbibler/sha_header/compare/v0.0.1...v0.0.2
18
+ [v0.0.1]: https://github.com/nbibler/sha_header/compare/8ae9dffa5425bfeaa42eb1a0c6362558690ae3dc...v0.0.1
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://travis-ci.org/nbibler/sha_header.png?branch=master)](https://travis-ci.org/nbibler/sha_header)
2
+
1
3
  # SHAHeader
2
4
 
3
5
  SHAHeader is a simple Rack middleware gem for Rails 3. When required, it
@@ -1,3 +1,3 @@
1
1
  module SHAHeader
2
- VERSION = "0.0.4"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sha_header
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
5
- prerelease:
4
+ version: 1.0.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nathaniel Bibler
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-20 00:00:00.000000000 Z
11
+ date: 2013-04-27 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: railties
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rspec
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: fakefs
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -68,7 +61,9 @@ extensions: []
68
61
  extra_rdoc_files: []
69
62
  files:
70
63
  - .gitignore
71
- - .rvmrc
64
+ - .rspec
65
+ - .travis.yml
66
+ - CHANGELOG.md
72
67
  - Gemfile
73
68
  - LICENSE.txt
74
69
  - README.md
@@ -86,27 +81,26 @@ files:
86
81
  homepage: https://github.com/nbibler/sha_header
87
82
  licenses:
88
83
  - MIT
84
+ metadata: {}
89
85
  post_install_message:
90
86
  rdoc_options: []
91
87
  require_paths:
92
88
  - lib
93
89
  required_ruby_version: !ruby/object:Gem::Requirement
94
- none: false
95
90
  requirements:
96
91
  - - ! '>='
97
92
  - !ruby/object:Gem::Version
98
93
  version: '0'
99
94
  required_rubygems_version: !ruby/object:Gem::Requirement
100
- none: false
101
95
  requirements:
102
96
  - - ! '>='
103
97
  - !ruby/object:Gem::Version
104
98
  version: '0'
105
99
  requirements: []
106
100
  rubyforge_project:
107
- rubygems_version: 1.8.24
101
+ rubygems_version: 2.0.3
108
102
  signing_key:
109
- specification_version: 3
103
+ specification_version: 4
110
104
  summary: Add a header to the response of your Rails 3 application containing the current
111
105
  commit SHA.
112
106
  test_files:
data/.rvmrc DELETED
@@ -1,52 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
- # development environment upon cd'ing into the directory
5
-
6
- # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
7
- # Only full ruby name is supported here, for short names use:
8
- # echo "rvm use 1.9.3" > .rvmrc
9
- environment_id="ruby-1.9.3-p327@sha_header"
10
-
11
- # Uncomment the following lines if you want to verify rvm version per project
12
- # rvmrc_rvm_version="1.16.20 (version)" # 1.10.1 seams as a safe start
13
- # eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
14
- # echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
15
- # return 1
16
- # }
17
-
18
- # First we attempt to load the desired environment directly from the environment
19
- # file. This is very fast and efficient compared to running through the entire
20
- # CLI and selector. If you want feedback on which environment was used then
21
- # insert the word 'use' after --create as this triggers verbose mode.
22
- if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
23
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
24
- then
25
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
26
- [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
27
- \. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
28
- if [[ $- == *i* ]] # check for interactive shells
29
- then echo "Using: $(tput setaf 2)$GEM_HOME$(tput sgr0)" # show the user the ruby and gemset they are using in green
30
- else echo "Using: $GEM_HOME" # don't use colors in non-interactive shells
31
- fi
32
- else
33
- # If the environment file has not yet been created, use the RVM CLI to select.
34
- rvm --create use "$environment_id" || {
35
- echo "Failed to create RVM environment '${environment_id}'."
36
- return 1
37
- }
38
- fi
39
-
40
- # If you use bundler, this might be useful to you:
41
- # if [[ -s Gemfile ]] && {
42
- # ! builtin command -v bundle >/dev/null ||
43
- # builtin command -v bundle | GREP_OPTIONS= \grep $rvm_path/bin/bundle >/dev/null
44
- # }
45
- # then
46
- # printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
47
- # gem install bundler
48
- # fi
49
- # if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
50
- # then
51
- # bundle install | GREP_OPTIONS= \grep -vE '^Using|Your bundle is complete'
52
- # fi