simple_bind 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +55 -0
- data/.rspec +3 -0
- data/.travis.yml +11 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +101 -0
- data/Rakefile +6 -0
- data/app/assets/javascripts/simple_bind.js +21 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/images/input_select_field_result.gif +0 -0
- data/images/input_text_field_result.gif +0 -0
- data/images/profile.png +0 -0
- data/lib/simple_bind.rb +5 -0
- data/lib/simple_bind/version.rb +3 -0
- data/simple_bind.gemspec +31 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +3 -0
- data/spec/dummy/app/assets/javascripts/welcome.js +2 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/assets/stylesheets/welcome.css +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/controllers/welcome_controller.rb +4 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/helpers/welcome_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/welcome/index.html.erb +9 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +31 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +41 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/development.log +397 -0
- data/spec/dummy/log/test.log +140 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-S/-SXFx5TSLt8l5U50SeQBW-Aul4iKuQhF-feqIysIn8Y.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-v/-vrmwTdew6zh7svNVtoKghFp26lbM6LWXQsxDQ8-6XA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0B/0BOuVIBE4_DOe2BUgdaDN3sx_5yMjhKmUBwLSU_6lBw.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0s/0sOIpG-eHx7lBIXQ3nMHi5Lk6ISn45rOFgeD_HMh4jY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1n/1naYpa61SAWjWwIth8TT2zzN7RmMadLUZS93oj6H_8A.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2G/2G4BHOBkqaytWid6967EqrpofcitsYZWkk-yz2Piw9Q.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2J/2JQ0p-cdaDkDdyAebrfBuLD1zldik_tcrTxHpJ9nnOM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2a/2aFUNyjJuRD7cRil5B7c9BbIIGq9KZ-UAIlCAXsEyHc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/37/37aOmfYXg7RF0-SkwC6JNCH_OceGoVFE4Ot4gBEmaEI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3f/3fmMUFlxx4RwzkfaqkUiEaDYXNuo7Y9uQJP0ysHqa5E.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4v/4vaRy1-a1YdmncORBa6bma1C7ETlkdRZbcLcKJyuVOs.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6U/6Ut3uxczO3kBu5n29OrlziI2YJ2Me8WrwFZ45U8N45U.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7f/7fpvh80lZ8sxXMqmEQSNT06v392vTwUYsydK-eNBmLw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/82/82eOiun42Jiyw4oJEtY3ES6DDNp0yWmR9AZoztFwacw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8U/8UQUqAbgQyr6CEnT7--faGqSGVa_lPFsM3jiI2EUl3o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8W/8W17g02M-M9IYCQZqzky0wTLtbL4HwHe7QtTL2bWP_8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8_/8_lw7nK6B5DjKiVGGtTffT_Bds9BuwTjgdPjLDbR8Jc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9C/9Ck_X_axKXWVlPm_XWPdsh085nX64SrLzlCscJUjkIQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9F/9Fn_YJth48GScm2oabE9NTqobZ77yFr39QNNAG81-xk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9L/9LFh179EvVfBEBBDvynETn9MH7kIF1QgR5rTYsWyww8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AX/AXc9P-ffrA0fRfaGO5Gj1qtE59JA4H1uvVBFicA-uMY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ai/Ai4rS4GDdpVqdhASWApgo1v-uQlAbFip-c5Ou_DaZK4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bh/BhQHUtyqNVpvbdjZFzBGXXHfGIA5CgiRPJbHq5OiGog.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/By/By6ZqFeSJogmLeaQf62X5h7Poj0KexEeTfWLgUafpfI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cd/CdWkCFdg4UVMAWfSUjysMa-EdtVpS5pNfjaqS7q4HTk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cq/CqS8f-adc43tZVUYwbeYNlaAp68VAND9gSz75EJ_qIk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cx/CxbWJ6XZjbI8fmMfhUxZWATG-IbwSay8P9kRel6SXj4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EE/EEplIoXGshtrgJgFxcH1B6LgetWrS_RuhCYsTuqiO6s.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EO/EObqv_vS6rOJBPUg-b7MawFdjw0ToQ8JeNd2gYkNYEc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fg/FgDt2OMZq73l_4PN0FXUvPAR6e3IhZ0DUPS53vOnlR8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/G5/G5_UFv6qcIMe1Dv2aIYnYGSZ0HwMRR4r6PSpQGbsFCg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gq/Gq6mGV6AcVUZsSUD63yY06XEwVrYkw4WVFAgT7Ibb3g.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Hb/HBtGnfIO0JsCzsj7y-Qb9AMVE0q2w335-Jcfw55meA8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Hb/HbP7YSLGT9sWWPslHQRHgzTCE5zHmSMO-Zc0icRe87w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Hi/HiI1b1Mqlllo2EKcI-qDuo1x6_5VpmfIZyf_CKULf5c.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/I9/I9B9W3dKv4ApmTlXUHlCdrY1y84D6QOfeaGYXy9tl24.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/If/IftBrL150Sj8Ze3FMqMZMFHIfgCMg4fh7263gNfx9cY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/J8/J8czGDnc-saMtfcMewm8GACeogROXioId3Pje80HcGs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kz/KzUJG2_OhN-UJ4CHBDeuMaY_aldQi9U3tQxvvaS31hc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LN/LNXgZoQF5oPlnE2LrjeB7AqgDEWjheGe4LKf961m9EI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Lg/LgWiUsX7Kb9oVmQqQ0YhkI9XQvfLvxO8SnhK-Uy8hLc.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ls/LsamrCAjNMbkX2bgC6QJya6MvJ9ftVfhJQbddui2VQM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Mq/MqiZCbsnGcLmEAYpXjfE9CTevQqSlUVDBVBHJ4QvOeM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Mu/MuB-gYYyB9lmPyQs0IBhMZ0wxBhlXj-hECJrSpphTgA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/N-/N-e90pNsq2w-QkXQguKxQpFJhM7ap_vGvxzyo_YAJFM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/N8/N8eQHHIo_B9wi5wMRKA5t7U92Shm1oSwBmY9VH2E9nQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NO/NOlHin8th1N3x2LtttKoKdOMWitsbGEX0J3oOxfHb2Y.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Oh/OhNb4DhNK4dmv2IxhBHXr310D7xTR_u5NpwpYHZjLLQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PU/PUb8S9DMjmNVI4PZeuxynKnEIc0Kt11UPrJxUYNlRfw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pr/PrpPbopQrJ61FIuB9Is9NCnhCDroU1XKKFRDS5V1cMs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QH/QHPowJOFs1BkDnCYSJQaCyUE61JZf7Mf7OwJqrLNtl0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ro/RouC_aUIHgWpoYzxzMBQuYz10VVNKVxijrljxgO28pA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/T6/T6IV-LNMIMzQsZ0lryF8I9ppApHUiMVNkkObQcSCIH8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Td/Tdn_AqL2zOXRbC2kGSO9Rx9E7khPK84Zn8-Ck-IU31c.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ty/TyzDGcCDQYPJTA1EUZ6Q1002i-SegR21xlhGc6vbC6o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UC/UCpUVSqRROMJsxJwL4S9KR3qQdEQiXvvCm7iRw93J0E.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UN/UNjsIBU09KFAe5pInvxxxb2RVX3qr9AhmJ-ATO9MHTc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Uv/UvTyjrqiSE37c2Sg3OPHAyelmpsrapOqclYpLXuxOBs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VY/VYy6m8W73r7VSTmzKclw2-lMyrPAnrhX4UsrCee89DE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Y3/Y3bu3QGuWL6DMzrw8kQCL0lqxM3EJPhdQvQ9EC1gEGQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Y9/Y9kT4FOU9aGgCDru8bv9rctjjb6i28jlT9eiE7KRsOQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_A/_AqsWNwWsfYwq9Jq6e3zlAHiIP9DxBdRAw2H3n6OuGY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_h/_hImmBCBX9v8v5fvJIVyVQfJUnWtwrqCY2R6jEFrfnw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a3/a34Yf9Ig58wVUiIERRxi5QMTMsBeWE0SoIWj309IUs0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ac/acW-QwI4ZnRMMQhsGUymq_d3Df_KxLRIqFII5Px2t_c.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/am/amAEDDwE23YdnBzSK5LO0TMsTaKKGwJswAiPELwo2Fc.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ap/apWYWaWioOlTNQJpRgJsKjPrAwbkQ6lpOT_AchffF30.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b4/b46s-I2ejV04yRW2xEZqnNCmVjB5Xeryk_kp8_40wMQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cv/cvIhJyoVw75tFdGwm0avistVWxW0UNcyV6nt6sIQpA8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dN/dN47yTE4JmDQaZUfZ5VLMkAuZyjQX7iFtaIYEt9gnYI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dY/dYQ7YQZyGPKvH0YChAenQ_zi-a8gowKaJm-HTn1ennY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/db/db7DsEQtiMuBVz5KaSTdEryYGuEHa5KtoAiLjH3O3Yw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dl/dll88WVT7X0YGHMK4unBpAi5z-wvaJCn1ZIH_mqZCXo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eM/eMSdj1x3ETv2rGJA1j-cCZTqEfPY7euwvQkaGpaJrdw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f6/f6nyVBdjrwJbcqDYAkBPmIYlLl06ri__2J2_TfQwgFg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gW/gWZBBzFdWxjmucFNz2J-aD7xb2tam8l4ugEAklIXeL0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hW/hWafvjQ1crZHOwxbVvz9HVvB5jEaYUqTWLxO2mK-LNc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iB/iBY2rzI71bJ-_VJnnfKG3ty_o07pmMyJJDM2HXY1Gbs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j2/j28-78PFaVkFewADp9FA0dAfJgqks9BYuPS8CSz93OY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/je/jeoZeFvVHc6XojTSMdRczbusIHqHfGDDUVOOeUA9qQA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/k9/k95SjEeHUvxRdwBRuVuljGvrY3lf-oOloVOep2QBxOg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lr/lrhwB-02Lk5zFYW4NPVYVNk-11KTRJlb_RThUgPB-QE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mL/mLCEMBo0C496hDR4WdpMEc52uTZmoVr8cLtsIjlPcC8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/od/odKBlCg0Q-myz-LUXIz5lbaIkQMPZROrDm6YKLn8YSI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oz/oz-qXFp3rlp9eRcgPg-qVOsRRyd2axyAZBERg_15R50.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p6/p6E5dC9DdmWH4R8RX4cB-RRVYGVNcRW4svcQlp510dY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6gw2uaV_zM0MdwVbaBgmvgWE91kBhyIarj_mEV9I8s.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qL/qLnyIH54mPDipahshIKtpeTBrBWTnIThbay57UdSED0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uh/uhbhmh8Z_jdjay70pCQ1G39d9wTq1MQNyXT7KPRT-uM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/v4/v4RCJvLG4EMvqxePUroHBDvPuq0wIFpNk1xEpPMsPW4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vF/vFYQjmZ2ZxiMYlsLtWMte4efATVdmXV_dPv6C5_HFpM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vq/vqqxATH-a3P-Rhf3YeTRMo1_qlyw_0YdRxryNA-mA54.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wx/wxgupf-KyzrZUpbVYIZHZbPMs6Owx--68cA8o_ci8Ac.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xJ/xJ3axK1qG4AHcxEyr1IlK3A6vpVl2Up0Us6ZGHINVnw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yB/yBCGjecPqAjpReI7zkkUlJahPF1jpgpjX4UG33s7Y9E.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yg/yg-tTIVAZdeiwWtTzIPm582EjwiTkmANuecTXX62PPM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yx/yxE31T4jZs5h0TGKSb0oCF-Mn2N2octSwjT5-mf_3lA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zA/ZaXsju_57OSef1AEANczm2G2gMJ6NrmzYw4H8uJNHyo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zA/zA-AQSRYPehRi1jH5eHKK2D8dsr4zNhIksc8hGCgpVE.cache +1 -0
- data/spec/dummy/tmp/capybara/capybara-201708140045131690472519.html +18 -0
- data/spec/features/assets_spec.rb +8 -0
- data/spec/features/test_input_spec.rb +16 -0
- data/spec/features/view_spec.rb +9 -0
- data/spec/simple_bind_spec.rb +7 -0
- data/spec/spec_helper.rb +13 -0
- data/spec/support/select_by_value.rb +5 -0
- metadata +486 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
+
* file per style scope.
|
12
|
+
*
|
13
|
+
*= require_tree .
|
14
|
+
*= require_self
|
15
|
+
*/
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Dummy</title>
|
5
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
6
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<h1>Text input</h1>
|
2
|
+
<% id = "TEXT#{Time.now.to_i}" %>
|
3
|
+
<p><%= text_field_tag :name, 'Test', data: { bind: id } %></p>
|
4
|
+
<p><%= content_tag :span, 'Test', bind: id, id: 'span_text_tag' %></p>
|
5
|
+
|
6
|
+
<h1>Select input</h1>
|
7
|
+
<% id_select = "SELECT#{Time.now.to_i}" %>
|
8
|
+
<p><%= select_tag :select, options_for_select([['First Option', :first_option], ['Second Option', :second_option]]), id: 'select_input', data: { bind: id_select } %></p>
|
9
|
+
<p><%= content_tag :span, 'First Option', bind: id_select, id: 'span_select_tag' %></p
|
data/spec/dummy/bin/rake
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'pathname'
|
3
|
+
|
4
|
+
# path to your application root.
|
5
|
+
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
6
|
+
|
7
|
+
Dir.chdir APP_ROOT do
|
8
|
+
# This script is a starting point to setup your application.
|
9
|
+
# Add necessary setup steps to this file:
|
10
|
+
|
11
|
+
puts "== Installing dependencies =="
|
12
|
+
system "gem install bundler --conservative"
|
13
|
+
system "bundle check || bundle install"
|
14
|
+
|
15
|
+
# puts "\n== Copying sample files =="
|
16
|
+
# unless File.exist?("config/database.yml")
|
17
|
+
# system "cp config/database.yml.sample config/database.yml"
|
18
|
+
# end
|
19
|
+
|
20
|
+
puts "\n== Preparing database =="
|
21
|
+
system "bin/rake db:setup"
|
22
|
+
|
23
|
+
puts "\n== Removing old logs and tempfiles =="
|
24
|
+
system "rm -f log/*"
|
25
|
+
system "rm -rf tmp/cache"
|
26
|
+
|
27
|
+
puts "\n== Restarting application server =="
|
28
|
+
system "touch tmp/restart.txt"
|
29
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
# Pick the frameworks you want:
|
4
|
+
require "active_record/railtie"
|
5
|
+
require "action_controller/railtie"
|
6
|
+
require "action_mailer/railtie"
|
7
|
+
require "action_view/railtie"
|
8
|
+
require "sprockets/railtie"
|
9
|
+
require 'jquery-rails'
|
10
|
+
# require "rails/test_unit/railtie"
|
11
|
+
|
12
|
+
Bundler.require(*Rails.groups)
|
13
|
+
|
14
|
+
module Dummy
|
15
|
+
class Application < Rails::Application
|
16
|
+
# Settings in config/environments/* take precedence over those specified here.
|
17
|
+
# Application configuration should go into files in config/initializers
|
18
|
+
# -- all .rb files in that directory are automatically loaded.
|
19
|
+
|
20
|
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
21
|
+
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
22
|
+
# config.time_zone = 'Central Time (US & Canada)'
|
23
|
+
|
24
|
+
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
25
|
+
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
26
|
+
# config.i18n.default_locale = :de
|
27
|
+
|
28
|
+
config.generators.test_framework = nil
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem 'sqlite3'
|
6
|
+
#
|
7
|
+
default: &default
|
8
|
+
adapter: sqlite3
|
9
|
+
pool: 5
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
development:
|
13
|
+
<<: *default
|
14
|
+
database: db/development.sqlite3
|
15
|
+
|
16
|
+
# Warning: The database defined as "test" will be erased and
|
17
|
+
# re-generated from your development database when you run "rake".
|
18
|
+
# Do not set this db to the same as development or production.
|
19
|
+
test:
|
20
|
+
<<: *default
|
21
|
+
database: db/test.sqlite3
|
22
|
+
|
23
|
+
production:
|
24
|
+
<<: *default
|
25
|
+
database: db/production.sqlite3
|
@@ -0,0 +1,41 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Do not eager load code on boot.
|
10
|
+
config.eager_load = false
|
11
|
+
|
12
|
+
# Show full error reports and disable caching.
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send.
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
18
|
+
|
19
|
+
# Print deprecation notices to the Rails logger.
|
20
|
+
config.active_support.deprecation = :log
|
21
|
+
|
22
|
+
# Raise an error on page load if there are pending migrations.
|
23
|
+
config.active_record.migration_error = :page_load
|
24
|
+
|
25
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
26
|
+
# This option may cause significant delays in view rendering with a large
|
27
|
+
# number of complex assets.
|
28
|
+
config.assets.debug = true
|
29
|
+
|
30
|
+
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
31
|
+
# yet still be able to expire them through the digest params.
|
32
|
+
config.assets.digest = true
|
33
|
+
|
34
|
+
# Adds additional error checking when serving assets at runtime.
|
35
|
+
# Checks for improperly declared sprockets dependencies.
|
36
|
+
# Raises helpful error messages.
|
37
|
+
config.assets.raise_runtime_errors = true
|
38
|
+
|
39
|
+
# Raises error for missing translations
|
40
|
+
# config.action_view.raise_on_missing_translations = true
|
41
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# Code is not reloaded between requests.
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Eager load code on boot. This eager loads most of Rails and
|
8
|
+
# your application in memory, allowing both threaded web servers
|
9
|
+
# and those relying on copy on write to perform better.
|
10
|
+
# Rake tasks automatically ignore this option for performance.
|
11
|
+
config.eager_load = true
|
12
|
+
|
13
|
+
# Full error reports are disabled and caching is turned on.
|
14
|
+
config.consider_all_requests_local = false
|
15
|
+
config.action_controller.perform_caching = true
|
16
|
+
|
17
|
+
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
18
|
+
# Add `rack-cache` to your Gemfile before enabling this.
|
19
|
+
# For large-scale production use, consider using a caching reverse proxy like
|
20
|
+
# NGINX, varnish or squid.
|
21
|
+
# config.action_dispatch.rack_cache = true
|
22
|
+
|
23
|
+
# Disable serving static files from the `/public` folder by default since
|
24
|
+
# Apache or NGINX already handles this.
|
25
|
+
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
26
|
+
|
27
|
+
# Compress JavaScripts and CSS.
|
28
|
+
config.assets.js_compressor = :uglifier
|
29
|
+
# config.assets.css_compressor = :sass
|
30
|
+
|
31
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
32
|
+
config.assets.compile = false
|
33
|
+
|
34
|
+
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
35
|
+
# yet still be able to expire them through the digest params.
|
36
|
+
config.assets.digest = true
|
37
|
+
|
38
|
+
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
39
|
+
|
40
|
+
# Specifies the header that your server uses for sending files.
|
41
|
+
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
42
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
43
|
+
|
44
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
45
|
+
# config.force_ssl = true
|
46
|
+
|
47
|
+
# Use the lowest log level to ensure availability of diagnostic information
|
48
|
+
# when problems arise.
|
49
|
+
config.log_level = :debug
|
50
|
+
|
51
|
+
# Prepend all log lines with the following tags.
|
52
|
+
# config.log_tags = [ :subdomain, :uuid ]
|
53
|
+
|
54
|
+
# Use a different logger for distributed setups.
|
55
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
56
|
+
|
57
|
+
# Use a different cache store in production.
|
58
|
+
# config.cache_store = :mem_cache_store
|
59
|
+
|
60
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
61
|
+
# config.action_controller.asset_host = 'http://assets.example.com'
|
62
|
+
|
63
|
+
# Ignore bad email addresses and do not raise email delivery errors.
|
64
|
+
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
65
|
+
# config.action_mailer.raise_delivery_errors = false
|
66
|
+
|
67
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
68
|
+
# the I18n.default_locale when a translation cannot be found).
|
69
|
+
config.i18n.fallbacks = true
|
70
|
+
|
71
|
+
# Send deprecation notices to registered listeners.
|
72
|
+
config.active_support.deprecation = :notify
|
73
|
+
|
74
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
75
|
+
config.log_formatter = ::Logger::Formatter.new
|
76
|
+
|
77
|
+
# Do not dump schema after migrations.
|
78
|
+
config.active_record.dump_schema_after_migration = false
|
79
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
13
|
+
config.eager_load = false
|
14
|
+
|
15
|
+
# Configure static file server for tests with Cache-Control for performance.
|
16
|
+
config.serve_static_files = true
|
17
|
+
config.static_cache_control = 'public, max-age=3600'
|
18
|
+
|
19
|
+
# Show full error reports and disable caching.
|
20
|
+
config.consider_all_requests_local = true
|
21
|
+
config.action_controller.perform_caching = false
|
22
|
+
|
23
|
+
# Raise exceptions instead of rendering exception templates.
|
24
|
+
config.action_dispatch.show_exceptions = false
|
25
|
+
|
26
|
+
# Disable request forgery protection in test environment.
|
27
|
+
config.action_controller.allow_forgery_protection = false
|
28
|
+
|
29
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
30
|
+
# The :test delivery method accumulates sent emails in the
|
31
|
+
# ActionMailer::Base.deliveries array.
|
32
|
+
config.action_mailer.delivery_method = :test
|
33
|
+
|
34
|
+
# Randomize the order test cases are executed.
|
35
|
+
config.active_support.test_order = :random
|
36
|
+
|
37
|
+
# Print deprecation notices to the stderr.
|
38
|
+
config.active_support.deprecation = :stderr
|
39
|
+
|
40
|
+
# Raises error for missing translations
|
41
|
+
# config.action_view.raise_on_missing_translations = true
|
42
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
|
6
|
+
# Add additional assets to the asset load path
|
7
|
+
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
+
|
9
|
+
# Precompile additional assets.
|
10
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|