Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

Refactor specs. Make it work with formtastic 3.1 #121

Merged
merged 10 commits into from Feb 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -10,3 +10,6 @@ doc

# bundler
.bundle

# rspec logs
log
1 change: 1 addition & 0 deletions .rspec
@@ -1 +1,2 @@
--color
--deprecation-out log/deprecations.log
7 changes: 7 additions & 0 deletions Gemfile
@@ -1,3 +1,10 @@
source "https://rubygems.org"

gemspec

group :development, :test do
gem 'devtools', git: 'https://github.com/mbj/devtools.git'
end

# Added by devtools
eval_gemfile 'Gemfile.devtools'
39 changes: 39 additions & 0 deletions Gemfile.devtools
@@ -0,0 +1,39 @@
group :development do
platform :rbx do
gem 'rubysl-singleton', '~> 2.0.0'
end
end

group :guard do
gem 'guard', '~> 2.10.3'
gem 'guard-bundler', '~> 2.1.0'
gem 'guard-rspec', '~> 4.5.0'
gem 'guard-rubocop', '~> 1.2.0'

# file system change event handling
gem 'listen', '~> 2.8.4'
gem 'rb-fchange', '~> 0.0.6', require: false
gem 'rb-fsevent', '~> 0.9.4', require: false
gem 'rb-inotify', '~> 0.9.5', require: false

# notification handling
gem 'libnotify', '~> 0.9.0', require: false
gem 'rb-notifu', '~> 0.0.4', require: false
gem 'terminal-notifier-guard', '~> 1.6.4', require: false
end

group :metrics do
platform :rbx do
gem 'json', '~> 1.8.1'
gem 'racc', '~> 1.4.12'
gem 'rubysl-logger', '~> 2.1.0'
gem 'rubysl-open-uri', '~> 2.0.0'
gem 'rubysl-prettyprint', '~> 2.0.3'
end
end

platform :jruby do
group :jruby do
gem 'jruby-openssl', '~> 0.9.4'
end
end
244 changes: 222 additions & 22 deletions Gemfile.lock
@@ -1,3 +1,23 @@
GIT
remote: https://github.com/mbj/devtools.git
revision: 54d9559790d1c077367db089342027e34f9f1bd3
specs:
devtools (0.0.2)
coveralls (~> 0.7.2)
flay (~> 2.5.0)
flog (~> 4.3.0)
mutant (~> 0.7.5)
mutant-rspec (~> 0.7.4)
rake (~> 10.4.0)
reek (= 1.4.0)
rspec (~> 3.1.0)
rspec-core (~> 3.1.7)
rspec-its (~> 1.1.0)
rubocop (~> 0.28.0)
simplecov (~> 0.9.1)
yard (~> 0.8.7.6)
yardstick (~> 0.9.9)

PATH
remote: .
specs:
Expand All @@ -7,6 +27,7 @@ PATH
GEM
remote: https://rubygems.org/
specs:
abstract_type (0.0.7)
actionpack (3.2.21)
activemodel (= 3.2.21)
activesupport (= 3.2.21)
Expand All @@ -23,28 +44,131 @@ GEM
activesupport (3.2.21)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
adamantium (0.2.0)
ice_nine (~> 0.11.0)
memoizable (~> 0.4.0)
ammeter (0.2.9)
activesupport (>= 3.0)
railties (>= 3.0)
rspec (>= 2.2)
rspec-rails (>= 2.2)
anima (0.2.0)
abstract_type (~> 0.0.7)
adamantium (~> 0.1)
equalizer (~> 0.0.8)
ast (2.0.0)
astrolabe (1.3.0)
parser (>= 2.2.0.pre.3, < 3.0)
builder (3.0.4)
celluloid (0.16.0)
timers (~> 4.0.0)
coderay (1.1.0)
concord (0.1.5)
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
coveralls (0.7.9)
multi_json (~> 1.10)
rest-client (~> 1.7)
simplecov (~> 0.9.1)
term-ansicolor (~> 1.3)
thor (~> 0.19.1)
diff-lcs (1.2.5)
docile (1.1.5)
equalizer (0.0.9)
erubis (2.7.0)
formtastic (3.1.2)
ffi (1.9.6)
flay (2.5.0)
ruby_parser (~> 3.0)
sexp_processor (~> 4.0)
flog (4.3.2)
ruby_parser (~> 3.1, > 3.1.0)
sexp_processor (~> 4.4)
formatador (0.2.5)
formtastic (3.1.3)
actionpack (>= 3.2.13)
guard (2.10.5)
formatador (>= 0.2.4)
listen (~> 2.7)
lumberjack (~> 1.0)
nenv (~> 0.1)
pry (>= 0.9.12)
thor (>= 0.18.1)
guard-bundler (2.1.0)
bundler (~> 1.0)
guard (~> 2.2)
guard-compat (~> 1.1)
guard-compat (1.2.1)
guard-rspec (4.5.0)
guard (~> 2.1)
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
guard-rubocop (1.2.0)
guard (~> 2.0)
rubocop (~> 0.20)
hike (1.2.3)
hitimes (1.2.2)
i18n (0.7.0)
ice_nine (0.11.1)
journey (1.0.4)
json (1.8.2)
libnotify (0.9.1)
ffi (>= 1.0.11)
listen (2.8.5)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
lumberjack (1.0.9)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
method_source (0.8.2)
mime-types (2.4.3)
morpher (0.2.3)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
anima (~> 0.2.0)
ast (~> 2.0.0)
concord (~> 0.1.4)
equalizer (~> 0.0.9)
ice_nine (~> 0.11.0)
procto (~> 0.0.2)
multi_json (1.10.1)
mutant (0.7.6)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
anima (~> 0.2.0)
ast (~> 2.0)
concord (~> 0.1.5)
diff-lcs (~> 1.2)
equalizer (~> 0.0.9)
ice_nine (~> 0.11.1)
memoizable (~> 0.4.2)
morpher (~> 0.2.3)
parallel (~> 1.3)
parser (~> 2.2.0.2)
procto (~> 0.0.2)
unparser (~> 0.2.2)
mutant-rspec (0.7.6)
mutant (~> 0.7.6)
rspec-core (>= 3.0.0, < 3.2.0)
nenv (0.2.0)
netrc (0.10.2)
nokogiri (1.5.11)
parallel (1.3.4)
parser (2.2.0.2)
ast (>= 1.1, < 3.0)
powerpack (0.0.9)
procto (0.0.2)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
racc (1.4.12)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.4)
rack
rack-test (0.6.2)
rack-test (0.6.3)
rack (>= 1.0)
railties (3.2.21)
actionpack (= 3.2.21)
Expand All @@ -53,41 +177,100 @@ GEM
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rainbow (2.0.0)
rake (10.4.2)
rb-fchange (0.0.6)
ffi
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rb-notifu (0.0.4)
rdoc (3.12.2)
json (~> 1.4)
rspec (2.99.0)
rspec-core (~> 2.99.0)
rspec-expectations (~> 2.99.0)
rspec-mocks (~> 2.99.0)
rspec-collection_matchers (1.1.2)
rspec-expectations (>= 2.99.0.beta1)
rspec-core (2.99.2)
rspec-expectations (2.99.2)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.99.2)
rspec-rails (2.99.0)
reek (1.4.0)
rainbow (>= 1.99, < 3.0)
ruby2ruby (>= 2.0.8, < 3.0)
ruby_parser (>= 3.5.0, < 4.0)
sexp_processor (~> 4.4)
rest-client (1.7.2)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
rspec (3.1.0)
rspec-core (~> 3.1.0)
rspec-expectations (~> 3.1.0)
rspec-mocks (~> 3.1.0)
rspec-core (3.1.7)
rspec-support (~> 3.1.0)
rspec-expectations (3.1.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.1.0)
rspec-its (1.1.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.1.3)
rspec-support (~> 3.1.0)
rspec-rails (3.1.0)
actionpack (>= 3.0)
activemodel (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-collection_matchers
rspec-core (~> 2.99.0)
rspec-expectations (~> 2.99.0)
rspec-mocks (~> 2.99.0)
rspec-core (~> 3.1.0)
rspec-expectations (~> 3.1.0)
rspec-mocks (~> 3.1.0)
rspec-support (~> 3.1.0)
rspec-support (3.1.2)
rspec_tag_matchers (1.0.0)
nokogiri (>= 1.4.0)
rspec-rails (>= 1.2.6)
rubocop (0.28.0)
astrolabe (~> 1.3)
parser (>= 2.2.0.pre.7, < 3.0)
powerpack (~> 0.0.6)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.4)
ruby-progressbar (1.7.1)
ruby2ruby (2.1.3)
ruby_parser (~> 3.1)
sexp_processor (~> 4.0)
ruby_parser (3.6.4)
sexp_processor (~> 4.1)
rubysl-logger (2.1.0)
rubysl-open-uri (2.0.0)
rubysl-prettyprint (2.0.3)
rubysl-singleton (2.0.0)
sexp_processor (4.4.5)
simplecov (0.9.1)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
slop (3.6.0)
sprockets (2.2.3)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
term-ansicolor (1.3.0)
tins (~> 1.0)
terminal-notifier-guard (1.6.4)
thor (0.19.1)
thread_safe (0.3.3)
thread_safe (0.3.4)
tilt (1.4.1)
tzinfo (1.1.0)
timers (4.0.1)
hitimes
tins (1.3.4)
tzinfo (1.2.2)
thread_safe (~> 0.1)
unparser (0.2.2)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
concord (~> 0.1.5)
diff-lcs (~> 1.2.5)
equalizer (~> 0.0.9)
parser (~> 2.2.0.2)
procto (~> 0.0.2)
yard (0.8.7.6)
yardstick (0.9.9)
yard (~> 0.8, >= 0.8.7.2)

PLATFORMS
ruby
Expand All @@ -96,10 +279,27 @@ DEPENDENCIES
actionpack (~> 3.2)
ammeter (~> 0.2)
bundler
devtools!
formtastic-bootstrap!
guard (~> 2.10.3)
guard-bundler (~> 2.1.0)
guard-rspec (~> 4.5.0)
guard-rubocop (~> 1.2.0)
jruby-openssl (~> 0.9.4)
json (~> 1.8.1)
libnotify (~> 0.9.0)
listen (~> 2.8.4)
nokogiri (< 1.6.0)
racc (~> 1.4.12)
rake
rspec (~> 2.14)
rspec-rails (~> 2.14)
rb-fchange (~> 0.0.6)
rb-fsevent (~> 0.9.4)
rb-inotify (~> 0.9.5)
rb-notifu (~> 0.0.4)
rspec_tag_matchers (~> 1.0)
rubysl-logger (~> 2.1.0)
rubysl-open-uri (~> 2.0.0)
rubysl-prettyprint (~> 2.0.3)
rubysl-singleton (~> 2.0.0)
terminal-notifier-guard (~> 1.6.4)
tzinfo