- s.add_runtime_dependency 'pg', '~> 0.11'
-
- # The list of files to be contained in the gem
- s.files = `git ls-files`.split("\n")
- s.executables = ['mailshears']
+ s.add_runtime_dependency 'pg', '~> 1.2'
+
+ # The list of files to be contained in the gem. We can obtain it
+ # from git as long as we remember that this magic will happen and we
+ # don't add any files in weird locations or build the gem before
+ # running `git add`.
+ s.files = `git ls-files`.split("\n")
+ s.executables = ['mailshears']