javascript_safe_logger 0.0.3 → 0.0.4
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/javascript_safe_logger.gemspec +1 -1
- data/lib/javascript_safe_logger/version.rb +1 -1
- metadata +40 -81
|
@@ -14,7 +14,7 @@ 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
|
|
17
|
+
s.add_dependency 'rails', '~> 3.1'
|
|
18
18
|
|
|
19
19
|
s.files = `git ls-files`.split("\n")
|
|
20
20
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
metadata
CHANGED
|
@@ -1,83 +1,46 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: javascript_safe_logger
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.4
|
|
4
5
|
prerelease:
|
|
5
|
-
version: 0.0.3
|
|
6
6
|
platform: ruby
|
|
7
|
-
authors:
|
|
7
|
+
authors:
|
|
8
8
|
- Jesse House
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
- !ruby/object:Gem::Dependency
|
|
12
|
+
date: 2012-02-07 00:00:00.000000000Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
16
15
|
name: rails
|
|
17
|
-
|
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
16
|
+
requirement: &70099864268260 !ruby/object:Gem::Requirement
|
|
19
17
|
none: false
|
|
20
|
-
requirements:
|
|
18
|
+
requirements:
|
|
21
19
|
- - ~>
|
|
22
|
-
- !ruby/object:Gem::Version
|
|
23
|
-
version: 3.1
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '3.1'
|
|
24
22
|
type: :runtime
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
and in coffeescript
|
|
43
|
-
|
|
44
|
-
log 'inside coolFunc', this, arguments
|
|
45
|
-
# or simple
|
|
46
|
-
log 'hello world!'
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
== Install
|
|
50
|
-
|
|
51
|
-
1. Update the Gemfile in your rails project, add the following line
|
|
52
|
-
|
|
53
|
-
gem 'javascript_safe_logger'
|
|
54
|
-
|
|
55
|
-
2. Update the /app/assets/javascript/application.js file
|
|
56
|
-
|
|
57
|
-
A. Manually update the file, add this before other requires
|
|
58
|
-
|
|
59
|
-
//= require safe_logger
|
|
60
|
-
|
|
61
|
-
B. Or use the generator to update the application.js file
|
|
62
|
-
|
|
63
|
-
rails generate javascript_safe_logger
|
|
64
|
-
|
|
65
|
-
== License
|
|
66
|
-
|
|
67
|
-
Paul Irish released the javascript code with the {The Unlicense}[http://unlicense.org/] (aka: public domain),
|
|
68
|
-
so this gem is also released with the same license.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
email:
|
|
23
|
+
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:
|
|
73
39
|
- jesse.house@gmail.com
|
|
74
40
|
executables: []
|
|
75
|
-
|
|
76
41
|
extensions: []
|
|
77
|
-
|
|
78
42
|
extra_rdoc_files: []
|
|
79
|
-
|
|
80
|
-
files:
|
|
43
|
+
files:
|
|
81
44
|
- .gitignore
|
|
82
45
|
- Gemfile
|
|
83
46
|
- README.rdoc
|
|
@@ -92,30 +55,26 @@ files:
|
|
|
92
55
|
- vendor/assets/javascripts/safe_logger/log.js
|
|
93
56
|
homepage: https://github.com/house9/javascript_safe_logger
|
|
94
57
|
licenses: []
|
|
95
|
-
|
|
96
58
|
post_install_message:
|
|
97
59
|
rdoc_options: []
|
|
98
|
-
|
|
99
|
-
require_paths:
|
|
60
|
+
require_paths:
|
|
100
61
|
- lib
|
|
101
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
63
|
none: false
|
|
103
|
-
requirements:
|
|
104
|
-
- -
|
|
105
|
-
- !ruby/object:Gem::Version
|
|
106
|
-
version:
|
|
107
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ! '>='
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '0'
|
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
69
|
none: false
|
|
109
|
-
requirements:
|
|
110
|
-
- -
|
|
111
|
-
- !ruby/object:Gem::Version
|
|
112
|
-
version:
|
|
70
|
+
requirements:
|
|
71
|
+
- - ! '>='
|
|
72
|
+
- !ruby/object:Gem::Version
|
|
73
|
+
version: '0'
|
|
113
74
|
requirements: []
|
|
114
|
-
|
|
115
75
|
rubyforge_project: javascript_safe_logger
|
|
116
|
-
rubygems_version: 1.8.
|
|
76
|
+
rubygems_version: 1.8.10
|
|
117
77
|
signing_key:
|
|
118
78
|
specification_version: 3
|
|
119
79
|
summary: Rails 3.1 javascript asset for Paul Irish console.log wrapper
|
|
120
80
|
test_files: []
|
|
121
|
-
|