need_label 0.1.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +53 -0
- data/Gemfile +2 -25
- data/Gemfile.lock +99 -99
- data/LICENSE.txt +674 -20
- data/README.rdoc +15 -0
- data/Rakefile +1 -49
- data/lib/need_label/helpers.rb +17 -4
- data/lib/need_label/version.rb +3 -0
- data/lib/need_label.rb +1 -2
- data/need_label.gemspec +24 -71
- data/spec/fake_app.rb +14 -2
- data/spec/requests/need_label_spec.rb +50 -114
- data/spec/spec_helper.rb +1 -0
- metadata +83 -72
- data/VERSION +0 -1
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5193845409dd8b3135875c34d8a07c72920ec516
|
4
|
+
data.tar.gz: c965e696a57e557a594124706d8a00939dd99e37
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e77a05db2825165053d81e4e715fbed0b2e442decb3cc0726c04cbb76c1c84082a8c262a8ec34f410748cf8f88a8765bfc8305f9962af93c1de19aa30fd2dd43
|
7
|
+
data.tar.gz: 36d9acc055fef475c08c6dbacbea60eb20d87b2d6b4b6e67f9d09837f7d49d860ba2594287387aa80c0cdd110f0539c06b774d8e5300daf01c23745fb47371fd
|
data/.gitignore
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
# rcov generated
|
2
|
+
coverage
|
3
|
+
|
4
|
+
# rdoc generated
|
5
|
+
rdoc
|
6
|
+
|
7
|
+
# yard generated
|
8
|
+
doc
|
9
|
+
.yardoc
|
10
|
+
|
11
|
+
# bundler
|
12
|
+
.bundle
|
13
|
+
|
14
|
+
# jeweler generated
|
15
|
+
pkg
|
16
|
+
|
17
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
18
|
+
#
|
19
|
+
# * Create a file at ~/.gitignore
|
20
|
+
# * Include files you want ignored
|
21
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
22
|
+
#
|
23
|
+
# After doing this, these files will be ignored in all your git projects,
|
24
|
+
# saving you from having to 'pollute' every project you touch with them
|
25
|
+
#
|
26
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
27
|
+
#
|
28
|
+
# For MacOS:
|
29
|
+
#
|
30
|
+
.DS_Store
|
31
|
+
|
32
|
+
# For TextMate
|
33
|
+
#*.tmproj
|
34
|
+
#tmtags
|
35
|
+
|
36
|
+
# For emacs:
|
37
|
+
*~
|
38
|
+
\#*
|
39
|
+
.\#*
|
40
|
+
|
41
|
+
# For vim:
|
42
|
+
#*.swp
|
43
|
+
|
44
|
+
# For redcar:
|
45
|
+
#.redcar
|
46
|
+
|
47
|
+
# For rubinius:
|
48
|
+
#*.rbc
|
49
|
+
|
50
|
+
.idea
|
51
|
+
*.gem
|
52
|
+
log
|
53
|
+
|
data/Gemfile
CHANGED
@@ -1,25 +1,2 @@
|
|
1
|
-
source
|
2
|
-
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
5
|
-
|
6
|
-
#gem 'activerecord', rails_version
|
7
|
-
#gem 'actionpack', rails_version
|
8
|
-
gem 'rails',">= 3.0.7"
|
9
|
-
|
10
|
-
# Add dependencies to develop your gem here.
|
11
|
-
# Include everything needed to run rake, tests, features, etc.
|
12
|
-
group :development do
|
13
|
-
gem "rspec", "~> 2.7.0"
|
14
|
-
gem "bundler","~> 1.0.0"
|
15
|
-
gem "jeweler", "~> 1.6.4"
|
16
|
-
gem "rcov", ">= 0"
|
17
|
-
gem 'sqlite3',"~> 1.3.0"
|
18
|
-
gem 'rspec-rails', "~> 2.7.0"
|
19
|
-
gem 'capybara', "~> 1.1.0"
|
20
|
-
gem 'nokogiri', "~> 1.5.0"
|
21
|
-
end
|
22
|
-
|
23
|
-
group :test do
|
24
|
-
gem 'rr', "~> 1.0.0"
|
25
|
-
end
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,124 +1,126 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
need_label (0.2.1)
|
5
|
+
rails (>= 3.0.7)
|
6
|
+
|
1
7
|
GEM
|
2
|
-
remote:
|
8
|
+
remote: https://rubygems.org/
|
3
9
|
specs:
|
4
|
-
actionmailer (3.
|
5
|
-
actionpack (= 3.
|
6
|
-
mail (~> 2.3
|
7
|
-
actionpack (3.
|
8
|
-
activemodel (= 3.
|
9
|
-
activesupport (= 3.
|
10
|
+
actionmailer (3.2.13)
|
11
|
+
actionpack (= 3.2.13)
|
12
|
+
mail (~> 2.5.3)
|
13
|
+
actionpack (3.2.13)
|
14
|
+
activemodel (= 3.2.13)
|
15
|
+
activesupport (= 3.2.13)
|
10
16
|
builder (~> 3.0.0)
|
11
17
|
erubis (~> 2.7.0)
|
12
|
-
|
13
|
-
rack (~> 1.
|
14
|
-
rack-cache (~> 1.
|
15
|
-
rack-mount (~> 0.8.2)
|
18
|
+
journey (~> 1.0.4)
|
19
|
+
rack (~> 1.4.5)
|
20
|
+
rack-cache (~> 1.2)
|
16
21
|
rack-test (~> 0.6.1)
|
17
|
-
sprockets (~> 2.
|
18
|
-
activemodel (3.
|
19
|
-
activesupport (= 3.
|
22
|
+
sprockets (~> 2.2.1)
|
23
|
+
activemodel (3.2.13)
|
24
|
+
activesupport (= 3.2.13)
|
20
25
|
builder (~> 3.0.0)
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
arel (~> 2.2.1)
|
26
|
+
activerecord (3.2.13)
|
27
|
+
activemodel (= 3.2.13)
|
28
|
+
activesupport (= 3.2.13)
|
29
|
+
arel (~> 3.0.2)
|
26
30
|
tzinfo (~> 0.3.29)
|
27
|
-
activeresource (3.
|
28
|
-
activemodel (= 3.
|
29
|
-
activesupport (= 3.
|
30
|
-
activesupport (3.
|
31
|
+
activeresource (3.2.13)
|
32
|
+
activemodel (= 3.2.13)
|
33
|
+
activesupport (= 3.2.13)
|
34
|
+
activesupport (3.2.13)
|
35
|
+
i18n (= 0.6.1)
|
31
36
|
multi_json (~> 1.0)
|
32
|
-
arel (
|
33
|
-
builder (3.0.
|
34
|
-
capybara (1.1.
|
37
|
+
arel (3.0.2)
|
38
|
+
builder (3.0.4)
|
39
|
+
capybara (1.1.4)
|
35
40
|
mime-types (>= 1.16)
|
36
41
|
nokogiri (>= 1.3.3)
|
37
42
|
rack (>= 1.0.0)
|
38
43
|
rack-test (>= 0.5.4)
|
39
44
|
selenium-webdriver (~> 2.0)
|
40
45
|
xpath (~> 0.1.4)
|
41
|
-
childprocess (0.
|
42
|
-
ffi (~> 1.0.
|
43
|
-
diff-lcs (1.
|
46
|
+
childprocess (0.3.9)
|
47
|
+
ffi (~> 1.0, >= 1.0.11)
|
48
|
+
diff-lcs (1.2.4)
|
44
49
|
erubis (2.7.0)
|
45
|
-
ffi (1.
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
git (>= 1.2.5)
|
52
|
-
rake
|
53
|
-
json (1.6.1)
|
54
|
-
json_pure (1.6.1)
|
55
|
-
mail (2.3.0)
|
56
|
-
i18n (>= 0.4.0)
|
50
|
+
ffi (1.8.1)
|
51
|
+
hike (1.2.3)
|
52
|
+
i18n (0.6.1)
|
53
|
+
journey (1.0.4)
|
54
|
+
json (1.8.0)
|
55
|
+
mail (2.5.4)
|
57
56
|
mime-types (~> 1.16)
|
58
57
|
treetop (~> 1.4.8)
|
59
|
-
mime-types (1.
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
58
|
+
mime-types (1.23)
|
59
|
+
mini_portile (0.5.0)
|
60
|
+
multi_json (1.7.6)
|
61
|
+
nokogiri (1.6.0)
|
62
|
+
mini_portile (~> 0.5.0)
|
63
|
+
polyglot (0.3.3)
|
64
|
+
rack (1.4.5)
|
65
|
+
rack-cache (1.2)
|
65
66
|
rack (>= 0.4)
|
66
|
-
rack-
|
67
|
-
rack (>= 1.0.0)
|
68
|
-
rack-ssl (1.3.2)
|
67
|
+
rack-ssl (1.3.3)
|
69
68
|
rack
|
70
|
-
rack-test (0.6.
|
69
|
+
rack-test (0.6.2)
|
71
70
|
rack (>= 1.0)
|
72
|
-
rails (3.
|
73
|
-
actionmailer (= 3.
|
74
|
-
actionpack (= 3.
|
75
|
-
activerecord (= 3.
|
76
|
-
activeresource (= 3.
|
77
|
-
activesupport (= 3.
|
71
|
+
rails (3.2.13)
|
72
|
+
actionmailer (= 3.2.13)
|
73
|
+
actionpack (= 3.2.13)
|
74
|
+
activerecord (= 3.2.13)
|
75
|
+
activeresource (= 3.2.13)
|
76
|
+
activesupport (= 3.2.13)
|
78
77
|
bundler (~> 1.0)
|
79
|
-
railties (= 3.
|
80
|
-
railties (3.
|
81
|
-
actionpack (= 3.
|
82
|
-
activesupport (= 3.
|
78
|
+
railties (= 3.2.13)
|
79
|
+
railties (3.2.13)
|
80
|
+
actionpack (= 3.2.13)
|
81
|
+
activesupport (= 3.2.13)
|
83
82
|
rack-ssl (~> 1.3.2)
|
84
83
|
rake (>= 0.8.7)
|
85
84
|
rdoc (~> 3.4)
|
86
|
-
thor (
|
87
|
-
rake (0.
|
88
|
-
|
89
|
-
rdoc (3.11)
|
85
|
+
thor (>= 0.14.6, < 2.0)
|
86
|
+
rake (10.0.4)
|
87
|
+
rdoc (3.12.2)
|
90
88
|
json (~> 1.4)
|
91
|
-
rr (1.0
|
92
|
-
rspec (2.
|
93
|
-
rspec-core (~> 2.
|
94
|
-
rspec-expectations (~> 2.
|
95
|
-
rspec-mocks (~> 2.
|
96
|
-
rspec-core (2.
|
97
|
-
rspec-expectations (2.
|
98
|
-
diff-lcs (
|
99
|
-
rspec-mocks (2.
|
100
|
-
rspec-rails (2.
|
101
|
-
actionpack (
|
102
|
-
activesupport (
|
103
|
-
railties (
|
104
|
-
rspec (~> 2.
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
89
|
+
rr (1.1.0)
|
90
|
+
rspec (2.13.0)
|
91
|
+
rspec-core (~> 2.13.0)
|
92
|
+
rspec-expectations (~> 2.13.0)
|
93
|
+
rspec-mocks (~> 2.13.0)
|
94
|
+
rspec-core (2.13.1)
|
95
|
+
rspec-expectations (2.13.0)
|
96
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
97
|
+
rspec-mocks (2.13.1)
|
98
|
+
rspec-rails (2.13.2)
|
99
|
+
actionpack (>= 3.0)
|
100
|
+
activesupport (>= 3.0)
|
101
|
+
railties (>= 3.0)
|
102
|
+
rspec-core (~> 2.13.0)
|
103
|
+
rspec-expectations (~> 2.13.0)
|
104
|
+
rspec-mocks (~> 2.13.0)
|
105
|
+
rubyzip (0.9.9)
|
106
|
+
selenium-webdriver (2.33.0)
|
107
|
+
childprocess (>= 0.2.5)
|
108
|
+
multi_json (~> 1.0)
|
110
109
|
rubyzip
|
111
|
-
|
110
|
+
websocket (~> 1.0.4)
|
111
|
+
sprockets (2.2.2)
|
112
112
|
hike (~> 1.2)
|
113
|
+
multi_json (~> 1.0)
|
113
114
|
rack (~> 1.0)
|
114
115
|
tilt (~> 1.1, != 1.3.0)
|
115
|
-
sqlite3 (1.3.
|
116
|
-
thor (0.
|
117
|
-
tilt (1.
|
118
|
-
treetop (1.4.
|
116
|
+
sqlite3 (1.3.7)
|
117
|
+
thor (0.18.1)
|
118
|
+
tilt (1.4.1)
|
119
|
+
treetop (1.4.14)
|
119
120
|
polyglot
|
120
121
|
polyglot (>= 0.3.1)
|
121
|
-
tzinfo (0.3.
|
122
|
+
tzinfo (0.3.37)
|
123
|
+
websocket (1.0.7)
|
122
124
|
xpath (0.1.4)
|
123
125
|
nokogiri (~> 1.3)
|
124
126
|
|
@@ -126,13 +128,11 @@ PLATFORMS
|
|
126
128
|
ruby
|
127
129
|
|
128
130
|
DEPENDENCIES
|
129
|
-
bundler (~> 1.
|
130
|
-
capybara (~> 1.1
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
rspec (~> 2.7.0)
|
137
|
-
rspec-rails (~> 2.7.0)
|
131
|
+
bundler (~> 1.3)
|
132
|
+
capybara (~> 1.1)
|
133
|
+
need_label!
|
134
|
+
rake
|
135
|
+
rr
|
136
|
+
rspec (~> 2.13)
|
137
|
+
rspec-rails
|
138
138
|
sqlite3 (~> 1.3.0)
|