raygun 0.0.22 → 0.0.23

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.
data/.gitignore CHANGED
@@ -13,6 +13,7 @@ lib/bundler/man
13
13
  pkg
14
14
  rdoc
15
15
  tmp
16
-
16
+ Vagrantfile
17
+ .vagrant
17
18
  app/prototype/tmp
18
19
  app/prototype/log/*.log
data/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.0.23 [2013-02-07]
4
+
5
+ * Fixed a bug with detecting whether we're on darwin or not.
6
+ * Remove some dead code (thanks @bemurphy).
7
+
3
8
  ## 0.0.22 [2013-02-07]
4
9
 
5
10
  * Support ubuntu and darwin (sed has slightly different syntax for in-place substitution).
data/bin/raygun CHANGED
@@ -40,16 +40,9 @@ module Raygun
40
40
  end
41
41
 
42
42
  def configure_new_app
43
- generate_tokens
44
43
  update_ruby_version
45
44
  end
46
45
 
47
- def generate_tokens
48
- Dir.chdir(app_dir) do
49
- `#{sed_i} 's/SUPER_SECRET_TOKEN_REPLACE_ME_TODO/#{SecureRandom.hex(128)}/' #{app_dir}/.env`
50
- end
51
- end
52
-
53
46
  def update_ruby_version
54
47
  prototype_ruby_patch_level = File.read(File.expand_path('../../.ruby-version', __FILE__)).strip
55
48
  prototype_ruby_version = prototype_ruby_patch_level.match(/(\d\.\d\.\d).*/)[1]
@@ -103,7 +96,7 @@ module Raygun
103
96
 
104
97
  # Mac sed works differently than ubuntu sed when it comes to in-place substituion.
105
98
  def sed_i
106
- RUBY_PLATFORM =~ /dawrin/ ? "sed -i ''" : "sed -i"
99
+ RUBY_PLATFORM =~ /darwin/ ? "sed -i ''" : "sed -i"
107
100
  end
108
101
 
109
102
  class << self
@@ -1,3 +1,3 @@
1
1
  module Raygun
2
- VERSION = "0.0.22"
2
+ VERSION = "0.0.23"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: