swiss_knife 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- swiss_knife (1.0.1)
4
+ swiss_knife (1.0.2)
5
5
  rails (>= 3.0.0)
6
6
 
7
7
  GEM
@@ -36,26 +36,30 @@ GEM
36
36
  activesupport (= 3.1.0)
37
37
  activesupport (3.1.0)
38
38
  multi_json (~> 1.0)
39
- archive-tar-minitar (0.5.2)
40
39
  arel (2.2.1)
41
40
  bcrypt-ruby (3.0.0)
42
41
  builder (3.0.0)
43
- columnize (0.3.4)
42
+ coderay (0.9.8)
44
43
  diff-lcs (1.1.3)
45
44
  erubis (2.7.0)
46
45
  fakeweb (1.3.0)
47
46
  hike (1.2.1)
48
47
  i18n (0.6.0)
49
- linecache19 (0.5.12)
50
- ruby_core_source (>= 0.1.4)
51
48
  mail (2.3.0)
52
49
  i18n (>= 0.4.0)
53
50
  mime-types (~> 1.16)
54
51
  treetop (~> 1.4.8)
52
+ method_source (0.6.6)
53
+ ruby_parser (~> 2.0.5)
55
54
  mime-types (1.16)
56
55
  multi_json (1.0.3)
57
56
  nokogiri (1.5.0)
58
57
  polyglot (0.3.2)
58
+ pry (0.9.6.2)
59
+ coderay (~> 0.9.8)
60
+ method_source (~> 0.6.5)
61
+ ruby_parser (~> 2.0.5)
62
+ slop (~> 2.1.0)
59
63
  rack (1.3.2)
60
64
  rack-cache (1.0.3)
61
65
  rack (>= 0.4)
@@ -82,29 +86,23 @@ GEM
82
86
  thor (~> 0.14.6)
83
87
  rake (0.9.2)
84
88
  rdoc (3.9.4)
85
- rspec (2.6.0)
86
- rspec-core (~> 2.6.0)
87
- rspec-expectations (~> 2.6.0)
88
- rspec-mocks (~> 2.6.0)
89
- rspec-core (2.6.4)
90
- rspec-expectations (2.6.0)
89
+ rspec (2.7.0)
90
+ rspec-core (~> 2.7.0)
91
+ rspec-expectations (~> 2.7.0)
92
+ rspec-mocks (~> 2.7.0)
93
+ rspec-core (2.7.1)
94
+ rspec-expectations (2.7.0)
91
95
  diff-lcs (~> 1.1.2)
92
- rspec-mocks (2.6.0)
93
- rspec-rails (2.6.1)
96
+ rspec-mocks (2.7.0)
97
+ rspec-rails (2.7.0)
94
98
  actionpack (~> 3.0)
95
99
  activesupport (~> 3.0)
96
100
  railties (~> 3.0)
97
- rspec (~> 2.6.0)
98
- ruby-debug-base19 (0.11.25)
99
- columnize (>= 0.3.1)
100
- linecache19 (>= 0.5.11)
101
- ruby_core_source (>= 0.1.4)
102
- ruby-debug19 (0.11.6)
103
- columnize (>= 0.3.1)
104
- linecache19 (>= 0.5.11)
105
- ruby-debug-base19 (>= 0.11.19)
106
- ruby_core_source (0.1.5)
107
- archive-tar-minitar (>= 0.5.2)
101
+ rspec (~> 2.7.0)
102
+ ruby_parser (2.0.6)
103
+ sexp_processor (~> 3.0)
104
+ sexp_processor (3.0.7)
105
+ slop (2.1.0)
108
106
  sprockets (2.0.0)
109
107
  hike (~> 1.2)
110
108
  rack (~> 1.0)
@@ -115,7 +113,7 @@ GEM
115
113
  treetop (1.4.10)
116
114
  polyglot
117
115
  polyglot (>= 0.3.1)
118
- tzinfo (0.3.29)
116
+ tzinfo (0.3.30)
119
117
 
120
118
  PLATFORMS
121
119
  ruby
@@ -123,7 +121,7 @@ PLATFORMS
123
121
  DEPENDENCIES
124
122
  fakeweb
125
123
  nokogiri
126
- rspec-rails (~> 2.6)
127
- ruby-debug19
124
+ pry
125
+ rspec-rails (~> 2.7)
128
126
  sqlite3
129
127
  swiss_knife!
@@ -15,12 +15,12 @@ module SwissKnife
15
15
  # index: "All products"
16
16
  #
17
17
  def page_title(*args)
18
- unless args.empty?
18
+ if args.empty?
19
+ page_title_get
20
+ else
19
21
  options = args.extract_options!
20
22
  page_title_set args.first, options
21
23
  end
22
-
23
- page_title_get
24
24
  end
25
25
 
26
26
  private
@@ -2,7 +2,7 @@ module SwissKnife
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 1
5
+ PATCH = 2
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
data/swiss_knife.gemspec CHANGED
@@ -18,9 +18,9 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
 
20
20
  s.add_dependency "rails", ">= 3.0.0"
21
- s.add_development_dependency "rspec-rails", "~> 2.6"
21
+ s.add_development_dependency "rspec-rails", "~> 2.7"
22
22
  s.add_development_dependency "nokogiri"
23
23
  s.add_development_dependency "fakeweb"
24
24
  s.add_development_dependency "sqlite3"
25
- s.add_development_dependency "ruby-debug19"
25
+ s.add_development_dependency "pry"
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swiss_knife
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-29 00:00:00.000000000Z
12
+ date: 2011-10-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70152532707680 !ruby/object:Gem::Requirement
16
+ requirement: &70214631283800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,21 +21,21 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70152532707680
24
+ version_requirements: *70214631283800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec-rails
27
- requirement: &70152532707080 !ruby/object:Gem::Requirement
27
+ requirement: &70214631282900 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: '2.6'
32
+ version: '2.7'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70152532707080
35
+ version_requirements: *70214631282900
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: nokogiri
38
- requirement: &70152532706640 !ruby/object:Gem::Requirement
38
+ requirement: &70214631282440 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70152532706640
46
+ version_requirements: *70214631282440
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: fakeweb
49
- requirement: &70152532706080 !ruby/object:Gem::Requirement
49
+ requirement: &70214631281640 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70152532706080
57
+ version_requirements: *70214631281640
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: sqlite3
60
- requirement: &70152532702020 !ruby/object:Gem::Requirement
60
+ requirement: &70214631280760 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70152532702020
68
+ version_requirements: *70214631280760
69
69
  - !ruby/object:Gem::Dependency
70
- name: ruby-debug19
71
- requirement: &70152532701260 !ruby/object:Gem::Requirement
70
+ name: pry
71
+ requirement: &70214631280220 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70152532701260
79
+ version_requirements: *70214631280220
80
80
  description: Several helpers for Rails 3
81
81
  email:
82
82
  - fnando.vieira@gmail.com
@@ -156,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  segments:
158
158
  - 0
159
- hash: -1078128064411378260
159
+ hash: 4566748509901688145
160
160
  required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  none: false
162
162
  requirements:
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: -1078128064411378260
168
+ hash: 4566748509901688145
169
169
  requirements: []
170
170
  rubyforge_project:
171
171
  rubygems_version: 1.8.10