javascript_safe_logger 0.0.4 → 0.1.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.
@@ -1,4 +1,4 @@
1
- == Rails 3.1 javascript asset for Paul Irish console.log wrapper
1
+ == Rails 3.1 and up javascript asset for Paul Irish console.log wrapper
2
2
 
3
3
  This gem makes a javascript log method available as a Rails 3.1 asset
4
4
 
@@ -7,12 +7,12 @@ This gem makes a javascript log method available as a Rails 3.1 asset
7
7
 
8
8
  == Usage
9
9
 
10
- in your javascript
10
+ in your javascript
11
11
 
12
12
  log('inside coolFunc', this, arguments);
13
13
  // or simple
14
14
  log('hello world!');
15
-
15
+
16
16
  and in coffeescript
17
17
 
18
18
  log 'inside coolFunc', this, arguments
@@ -28,7 +28,7 @@ and in coffeescript
28
28
 
29
29
  2. Update the /app/assets/javascript/application.js file
30
30
 
31
- A. Manually update the file, add this before other requires
31
+ A. Manually update the file, add this before other requires
32
32
 
33
33
  //= require safe_logger
34
34
 
@@ -42,4 +42,6 @@ Paul Irish released the javascript code with the {The Unlicense}[http://unlicens
42
42
  so this gem is also released with the same license.
43
43
 
44
44
 
45
+ == Ruby Gems
45
46
 
47
+ * https://rubygems.org/gems/javascript_safe_logger
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
14
14
  s.description = File.open('README.rdoc') { |f| f.read }
15
15
  s.rubyforge_project = "javascript_safe_logger"
16
16
 
17
- s.add_dependency 'rails', '~> 3.1'
18
-
17
+ s.add_dependency 'rails', '>= 3.1'
18
+
19
19
  s.files = `git ls-files`.split("\n")
20
20
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
21
21
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
@@ -1,3 +1,3 @@
1
1
  module JavascriptSafeLogger
2
- VERSION = "0.0.4"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,46 +1,93 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: javascript_safe_logger
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.4
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Jesse House
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2012-02-07 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2013-05-31 00:00:00 -07:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rails
16
- requirement: &70099864268260 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '3.1'
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: *70099864268260
25
- description: ! "== Rails 3.1 javascript asset for Paul Irish console.log wrapper\n\nThis
26
- gem makes a javascript log method available as a Rails 3.1 asset\n\n* see http://paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog\n*
27
- see https://github.com/paulirish/html5-boilerplate\n\n== Usage\n\nin your javascript
28
- \n\n log('inside coolFunc', this, arguments);\n // or simple\n log('hello
29
- world!');\n \nand in coffeescript\n\n log 'inside coolFunc', this, arguments\n
30
- \ # or simple\n log 'hello world!'\n\n\n== Install\n\n1. Update the Gemfile
31
- in your rails project, add the following line\n\n gem 'javascript_safe_logger'\n\n2.
32
- Update the /app/assets/javascript/application.js file\n\n A. Manually update
33
- the file, add this before other requires \n\n //= require safe_logger\n\n
34
- \ B. Or use the generator to update the application.js file\n\n rails generate
35
- javascript_safe_logger\n\n== License\n\nPaul Irish released the javascript code
36
- with the {The Unlicense}[http://unlicense.org/] (aka: public domain),\nso this gem
37
- is also released with the same license.\n\n\n\n"
38
- email:
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 3
29
+ - 1
30
+ version: "3.1"
31
+ type: :runtime
32
+ version_requirements: *id001
33
+ description: |
34
+ == Rails 3.1 and up javascript asset for Paul Irish console.log wrapper
35
+
36
+ This gem makes a javascript log method available as a Rails 3.1 asset
37
+
38
+ * see http://paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog
39
+ * see https://github.com/paulirish/html5-boilerplate
40
+
41
+ == Usage
42
+
43
+ in your javascript
44
+
45
+ log('inside coolFunc', this, arguments);
46
+ // or simple
47
+ log('hello world!');
48
+
49
+ and in coffeescript
50
+
51
+ log 'inside coolFunc', this, arguments
52
+ # or simple
53
+ log 'hello world!'
54
+
55
+
56
+ == Install
57
+
58
+ 1. Update the Gemfile in your rails project, add the following line
59
+
60
+ gem 'javascript_safe_logger'
61
+
62
+ 2. Update the /app/assets/javascript/application.js file
63
+
64
+ A. Manually update the file, add this before other requires
65
+
66
+ //= require safe_logger
67
+
68
+ B. Or use the generator to update the application.js file
69
+
70
+ rails generate javascript_safe_logger
71
+
72
+ == License
73
+
74
+ Paul Irish released the javascript code with the {The Unlicense}[http://unlicense.org/] (aka: public domain),
75
+ so this gem is also released with the same license.
76
+
77
+
78
+ == Ruby Gems
79
+
80
+ * https://rubygems.org/gems/javascript_safe_logger
81
+
82
+ email:
39
83
  - jesse.house@gmail.com
40
84
  executables: []
85
+
41
86
  extensions: []
87
+
42
88
  extra_rdoc_files: []
43
- files:
89
+
90
+ files:
44
91
  - .gitignore
45
92
  - Gemfile
46
93
  - README.rdoc
@@ -53,28 +100,35 @@ files:
53
100
  - lib/javascript_safe_logger/version.rb
54
101
  - vendor/assets/javascripts/safe_logger/index.js
55
102
  - vendor/assets/javascripts/safe_logger/log.js
103
+ has_rdoc: true
56
104
  homepage: https://github.com/house9/javascript_safe_logger
57
105
  licenses: []
106
+
58
107
  post_install_message:
59
108
  rdoc_options: []
60
- require_paths:
109
+
110
+ require_paths:
61
111
  - lib
62
- required_ruby_version: !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
65
- - - ! '>='
66
- - !ruby/object:Gem::Version
67
- version: '0'
68
- required_rubygems_version: !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
71
- - - ! '>='
72
- - !ruby/object:Gem::Version
73
- version: '0'
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ segments:
117
+ - 0
118
+ version: "0"
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ segments:
124
+ - 0
125
+ version: "0"
74
126
  requirements: []
127
+
75
128
  rubyforge_project: javascript_safe_logger
76
- rubygems_version: 1.8.10
129
+ rubygems_version: 1.3.6
77
130
  signing_key:
78
131
  specification_version: 3
79
132
  summary: Rails 3.1 javascript asset for Paul Irish console.log wrapper
80
133
  test_files: []
134
+