motion-logger 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  vendor/Pods/Pods.xcodeproj/project.pbxproj
2
+ vendor/Pods/build-*/
2
3
  Gemfile.lock
3
4
  .repl_history
4
5
  build
data/README.md CHANGED
@@ -33,7 +33,7 @@ gem install motion-logger
33
33
 
34
34
  Require the gem in Rakefile:
35
35
 
36
- ```
36
+ ```ruby
37
37
  require 'rubygems'
38
38
  require 'motion-logger'
39
39
 
@@ -45,4 +45,16 @@ Motion::Project::App.setup do |app|
45
45
  dependency 'CocoaLumberjack'
46
46
  end
47
47
  end
48
+ ```
49
+
50
+ ## License
51
+
52
+ ```
53
+ Copyright (c) 2012, Francis Chong <francis@ignition.hk>
54
+
55
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
56
+
57
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
58
+
59
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
48
60
  ```
data/Rakefile CHANGED
@@ -13,3 +13,12 @@ Motion::Project::App.setup do |app|
13
13
  dependency 'CocoaLumberjack'
14
14
  end
15
15
  end
16
+
17
+
18
+
19
+ desc "Build the gem"
20
+ task :gem do
21
+ sh "bundle exec gem build motion-logger.gemspec"
22
+ sh "mkdir -p pkg"
23
+ sh "mv *.gem pkg/"
24
+ end
data/lib/logger/log.rb CHANGED
@@ -72,7 +72,7 @@ module LoggerClassMethods
72
72
  end
73
73
 
74
74
  module Motion
75
- class Log < DDLog
75
+ class Log < ::DDLog
76
76
  class << self
77
77
  alias_method :flush, :flushLog
78
78
  end
@@ -1,5 +1,5 @@
1
1
  module Motion
2
2
  module Logger
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: motion-cocoapods
16
- requirement: &70210040548040 !ruby/object:Gem::Requirement
16
+ requirement: &70289250322300 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.0.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70210040548040
24
+ version_requirements: *70289250322300
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: motion-redgreen
27
- requirement: &70210040547500 !ruby/object:Gem::Requirement
27
+ requirement: &70289250321480 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70210040547500
35
+ version_requirements: *70289250321480
36
36
  description: A thin wrapper of CocoaLumberjack for RubyMotion.
37
37
  email:
38
38
  - francis@ignition.hk